diff options
Diffstat (limited to 'classes/BiblioIsisDb.php')
-rw-r--r-- | classes/BiblioIsisDb.php | 2 |
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; |