The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

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

Handle missing value (callNumber is optional)

parent 2bd438d2
Branches
Tags
No related merge requests found
......@@ -373,7 +373,7 @@ class Folio extends AbstractAPI implements
'status' => $item->status->name,
'availability' => $item->status->name == 'Available',
'notes' => $item->notes ?? [],
'callnumber' => $holding->callNumber,
'callnumber' => $holding->callNumber ?? '',
'location' => $locationName,
'reserve' => 'TODO',
'addLink' => true
......
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