diff --git a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php index 2f76b21cac6d9e999effe48f7f71702796d4e726..55833858bc7a973120c7dafe0cce56eac8562539 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php +++ b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php @@ -1132,7 +1132,7 @@ class MultiBackend extends AbstractBase implements \Zend\Log\LoggerAwareInterfac $source = $this->getSource($details['id']); $driver = $this->getDriver($source); if ($driver - && $this->methodSupported($driver, 'placeILLRequest', compact($details)) + && $this->methodSupported($driver, 'placeILLRequest', compact('details')) ) { // Patron is not stripped so that the correct library can be determined $details = $this->stripIdPrefixes($details, $source, ['id'], ['patron']); diff --git a/module/VuFind/src/VuFind/ILS/Logic/Holds.php b/module/VuFind/src/VuFind/ILS/Logic/Holds.php index c5d4c6bc1f3f92826ac49a472bfe59eedadffc74..7455a0960876e9f4b41c1b621124e93484b102e6 100644 --- a/module/VuFind/src/VuFind/ILS/Logic/Holds.php +++ b/module/VuFind/src/VuFind/ILS/Logic/Holds.php @@ -209,7 +209,7 @@ class Holds $grb = 'getRequestBlocks'; // use variable to shorten line below: $blocks - = $patron && $this->catalog->checkCapability($grb, compact($patron)) + = $patron && $this->catalog->checkCapability($grb, compact('patron')) ? $this->catalog->getRequestBlocks($patron) : false; $mode = $this->catalog->getHoldsMode();