diff --git a/themes/finc/templates/RecordTab/holdingsils.phtml b/themes/finc/templates/RecordTab/holdingsils.phtml index 42faaa8d2611ffd83a66bf2b9e287bacc103f890..9b230296b34be99aafef2a0fc2884cfa16d5a496 100644 --- a/themes/finc/templates/RecordTab/holdingsils.phtml +++ b/themes/finc/templates/RecordTab/holdingsils.phtml @@ -98,7 +98,9 @@ if (!empty($holdingTitleHold)): ?> <? /* finc: this next section produces an empty table in some cases - the table borders collapse, producing a thick line - should be solved more elegantly - Fixme - CK*/ ?> <? /* nxt line = finc-specific - branch info - CK */ ?> - <?=$this->branchInfo($this->driver)->getBranchInfo($holding['locationid']);?> + <? if (isset($holding['locationid'])): ?> + <?=$this->branchInfo($this->driver)->getBranchInfo($holding['locationid']);?> + <? endif; ?> <table class="table table-striped"> <? /* Table summary not supported in html 5, finc-specific solution, CK */ ?> <caption class="sr-only"><?=$this->transEsc('holdings_details_from', ['%%location%%' => $this->transEsc($holding['location'])]) ?></caption>