diff --git a/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php b/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php index 84a1908810f4a342f553b6047c4116eb9c7ce154..e99a91419289d69150cc4a0e7c13113d6b81646e 100644 --- a/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php +++ b/module/finc/src/finc/RecordDriver/SolrMarcFincTrait.php @@ -203,8 +203,10 @@ trait SolrMarcFincTrait foreach ($this->isil as $isil) { if (isset($itemdata[$isil])) { foreach ($itemdata[$isil] as $val) { - $array[$i]['barcode'] = $val['bc']; - $array[$i]['callnumber'] = $val['cn']; + $array[$i]['barcode'] = isset($val['bc']) + ? $val['bc'] : ''; + $array[$i]['callnumber'] = isset($val['cn']) + ? $val['cn'] : ''; $i++; } } // end if