Skip to content
Snippets Groups Projects
Commit 3f3808da authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Display raw code if map entry is missing.

parent be9ddb16
No related merge requests found
...@@ -232,7 +232,7 @@ class Koha extends AbstractBase ...@@ -232,7 +232,7 @@ class Koha extends AbstractBase
//Retrieving the location (shelf types) //Retrieving the location (shelf types)
$shelf = $rowItem['LOCATION']; $shelf = $rowItem['LOCATION'];
$loc = (null != $shelf) $loc = (null != $shelf)
? $loc . ": " . $this->locCodes[$shelf] ? $loc . ": " . ($this->locCodes[$shelf] ?? $shelf)
: $loc . ": " . 'Unknown'; : $loc . ": " . 'Unknown';
//A default value is stored for null //A default value is stored for null
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment