diff --git a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php index 24678c7037d3f39f404e75217959f3b179811f53..5dd56520f21f3b0f5a4e4424881b1bfb66e5ccd6 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php +++ b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php @@ -65,10 +65,10 @@ class MultiBackend extends AbstractBase * @var string */ protected $defaultDriver; - + /** * The path to the driver configurations relative to the config path - * + * * @var string */ protected $driversConfigPath; @@ -1177,9 +1177,13 @@ class MultiBackend extends AbstractBase $source = $this->getSourceFromParams($params); } if (!$source) { - $patron = $this->ilsAuth->storedCatalogLogin(); - if ($patron && isset($patron['cat_username'])) { - $source = $this->getSource($patron['cat_username']); + try { + $patron = $this->ilsAuth->storedCatalogLogin(); + if ($patron && isset($patron['cat_username'])) { + $source = $this->getSource($patron['cat_username']); + } + } catch (ILSException $e) { + return []; } }