aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-04-09 16:54:06 -0300
committerSilvio <silvio@devlet.com.br>2010-04-09 16:54:06 -0300
commit19dbb82b0dabdf972a6d1e2c4fe8781b91deadd4 (patch)
tree7973bc66ea1dcf19b3d9c004dcc2af6b1a76c204 /classes
parentfbaafb721a0aedf33e1bce54e18689fe60d75cea (diff)
downloadcinisis-19dbb82b0dabdf972a6d1e2c4fe8781b91deadd4.tar.gz
cinisis-19dbb82b0dabdf972a6d1e2c4fe8781b91deadd4.tar.bz2
Minor change
Diffstat (limited to 'classes')
-rw-r--r--classes/BiblioIsisDb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php
index 8d98569..616cc77 100644
--- a/classes/BiblioIsisDb.php
+++ b/classes/BiblioIsisDb.php
@@ -172,7 +172,7 @@ class BiblioIsisDb implements IsisDb {
*/
function repetition($field, $value) {
if (isset($this->format['fields'][$field]['repeat']) &&
- $this->format['fields'][$key]['repeat'] == FALSE) {
+ $this->format['fields'][$key]['repeat'] == FALSE && is_array($value)) {
return $value[0];
}
return $value;