From e28c61a1f8fc83a0bf92866dad0509a3f71d45dd Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 7 Jun 2010 18:06:27 -0300 Subject: Minor fixes --- classes/BiblioIsisDb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes/BiblioIsisDb.php') diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php index 36c0bbc..742080d 100644 --- a/classes/BiblioIsisDb.php +++ b/classes/BiblioIsisDb.php @@ -155,7 +155,7 @@ class BiblioIsisDb implements IsisDb { // Key '000' used to hold MFN. if ($key != '000') { if (!isset($this->format['fields'][$key])) { - return; + continue; } $name = $this->format['fields'][$key]['name']; @@ -201,7 +201,7 @@ class BiblioIsisDb implements IsisDb { */ function repetition($field, $value) { if (isset($this->format['fields'][$field]['repeat']) && - $this->format['fields'][$key]['repeat'] == FALSE && is_array($value)) { + $this->format['fields'][$field]['repeat'] == FALSE && is_array($value)) { return $value[0]; } -- cgit v1.2.3