diff --git a/module/VuFind/src/VuFind/ILS/Driver/NoILS.php b/module/VuFind/src/VuFind/ILS/Driver/NoILS.php index f1f554474410e9c340f5250e72f3a744d463ebed..b7e788d0af13fde22a8d7499007b8b732c16cb98 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/NoILS.php +++ b/module/VuFind/src/VuFind/ILS/Driver/NoILS.php @@ -267,8 +267,11 @@ class NoILS extends AbstractBase implements TranslatorAwareInterface public function hasHoldings($id) { $useHoldings = isset($this->config['settings']['useHoldings']) - ? $this->config['settings']['useHoldings'] : 'none'; - return $useHoldings == 'none'; + ? $this->config['settings']['useHoldings'] : ''; + + // "none" will be processed differently in the config depending + // on whether it's in or out of quotes; handle both cases. + return $useHoldings != 'none' && !empty($useHoldings); }