From 19dbb82b0dabdf972a6d1e2c4fe8781b91deadd4 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 9 Apr 2010 16:54:06 -0300 Subject: Minor change --- classes/BiblioIsisDb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/BiblioIsisDb.php') 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; -- cgit v1.2.3