From 5b111501be759fcdaee6fa42f54b564d5f98b266 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 11 Jun 2010 14:53:52 -0300 Subject: Updating fbe schema --- classes/BiblioIsisDb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php index 8285978..36648aa 100644 --- a/classes/BiblioIsisDb.php +++ b/classes/BiblioIsisDb.php @@ -309,7 +309,7 @@ class BiblioIsisDb implements IsisDb { $subfields = substr($value, strlen($field) + 1); $data[$entry]['field'] = $field; - $subfields = explode('^', $subfields); + $subfields = (!empty($subfields)) ? $subfields = explode('^', $subfields) : array(); } else { $subfields = explode('^', substr($value, 1)); -- cgit v1.2.3