diff options
Diffstat (limited to 'classes/BiblioIsisDb.php')
-rw-r--r-- | classes/BiblioIsisDb.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/BiblioIsisDb.php b/classes/BiblioIsisDb.php index 3baa529..825b80f 100644 --- a/classes/BiblioIsisDb.php +++ b/classes/BiblioIsisDb.php @@ -338,7 +338,10 @@ class BiblioIsisDb implements IsisDb { // Join subfields and main field if needed. if (CinisisDb::join_subfields($this->format)) { - $data[$entry] = $data[$entry]['subfields']; + if (isset($data[$entry]['subfields'])) { + $data[$entry] = $data[$entry]['subfields']; + } + if (isset($field)) { $data[$entry][CinisisDb::main_field_name($this->format, $key)] = $field; } |