diff --git a/module/VuFind/src/VuFind/ILS/Driver/Koha.php b/module/VuFind/src/VuFind/ILS/Driver/Koha.php index 3c3d8b3398aaf603397e54b4e8378fef4b384c51..b57e07abfe2789e3e34f5c266001a346276df0b6 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Koha.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Koha.php @@ -232,7 +232,7 @@ class Koha extends AbstractBase //Retrieving the location (shelf types) $shelf = $rowItem['LOCATION']; $loc = (null != $shelf) - ? $loc . ": " . $this->locCodes[$shelf] + ? $loc . ": " . ($this->locCodes[$shelf] ?? $shelf) : $loc . ": " . 'Unknown'; //A default value is stored for null