Skip to content
Snippets Groups Projects
Commit e1b9b725 authored by André Lahmann's avatar André Lahmann
Browse files

* added small check on array index in json parsing

parent 9d264f6f
No related merge requests found
......@@ -568,7 +568,7 @@ class DAIA extends \VuFind\ILS\Driver\AbstractBase implements HttpServiceAwareIn
$result_item["callnumber"] = "Unknown";
}
// get location
if (isset($item["storage"])) {
if (isset($item["storage"]["content"])) {
$result_item["location"] = $item["storage"]["content"];
} else {
$result_item["location"] = "Unknown";
......
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