diff options
author | Silvio <silvio@devlet.com.br> | 2010-04-09 16:54:06 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-04-09 16:54:06 -0300 |
commit | 19dbb82b0dabdf972a6d1e2c4fe8781b91deadd4 (patch) | |
tree | 7973bc66ea1dcf19b3d9c004dcc2af6b1a76c204 | |
parent | fbaafb721a0aedf33e1bce54e18689fe60d75cea (diff) | |
download | cinisis-19dbb82b0dabdf972a6d1e2c4fe8781b91deadd4.tar.gz cinisis-19dbb82b0dabdf972a6d1e2c4fe8781b91deadd4.tar.bz2 |
Minor change
-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; |