Loading modules/dvg/dvg_datab/dvg_datab.module +6 −0 Changes for modules/dvg/dvg_datab/dvg_datab.module: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -120,6 +120,12 @@ function dvg_datab_doclist($bsn) { $documents_array = []; if (!empty($data['response']['document'])) { if (!empty($data['response']['document']['docid'])) { // There is only one document, and this is in the root, not nested. $document = $data['response']['document']; $data['response']['document'] = []; $data['response']['document'][] = $document; } foreach ($data['response']['document'] as $document) { // Assure attachments are always sub-arrays. if (!empty($document['bijlage']) && isset($document['bijlage']['bijlid'])) { Loading Loading
modules/dvg/dvg_datab/dvg_datab.module +6 −0 Changes for modules/dvg/dvg_datab/dvg_datab.module: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -120,6 +120,12 @@ function dvg_datab_doclist($bsn) { $documents_array = []; if (!empty($data['response']['document'])) { if (!empty($data['response']['document']['docid'])) { // There is only one document, and this is in the root, not nested. $document = $data['response']['document']; $data['response']['document'] = []; $data['response']['document'][] = $document; } foreach ($data['response']['document'] as $document) { // Assure attachments are always sub-arrays. if (!empty($document['bijlage']) && isset($document['bijlage']['bijlid'])) { Loading