diff --git a/module/VuFind/src/VuFind/Controller/CollectionsController.php b/module/VuFind/src/VuFind/Controller/CollectionsController.php index a2ef51816e6b29998e8eb6337803e3164d939b4e..d62386910fcced39457d344d180097bc0953f941 100644 --- a/module/VuFind/src/VuFind/Controller/CollectionsController.php +++ b/module/VuFind/src/VuFind/Controller/CollectionsController.php @@ -178,7 +178,8 @@ class CollectionsController extends AbstractBase $result = $searchObject->getFullFieldFacets( [$browseField], false, 150000, 'index' ); - $result = $result[$browseField]['data']['list']; + $result = isset($result[$browseField]['data']['list']) + ? $result[$browseField]['data']['list'] : []; $delimiter = $this->getBrowseDelimiter(); foreach ($result as $rkey => $collection) {