diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-11 17:50:38 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-11 17:50:38 -0300 |
commit | b54991f7f2bbce1f15d2b5d561eeef92194e1700 (patch) | |
tree | 2c9a981896ca9ea022f57f93068d384b04c521ea /classes/BiblioIsisDb.php | |
parent | bd60d89fc77e87a200bd6145ec894fe0a572a209 (diff) | |
download | cinisis-b54991f7f2bbce1f15d2b5d561eeef92194e1700.tar.gz cinisis-b54991f7f2bbce1f15d2b5d561eeef92194e1700.tar.bz2 |
Fixing iterators' indexes
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; } |