diff --git a/lib/AlmaClient/AlmaClient.class.php b/lib/AlmaClient/AlmaClient.class.php index a908331..62bd502 100644 --- a/lib/AlmaClient/AlmaClient.class.php +++ b/lib/AlmaClient/AlmaClient.class.php @@ -791,7 +791,7 @@ public function get_availability($alma_ids) { $doc = $this->request('catalogue/availability', array('catalogueRecordKey' => $alma_ids)); foreach ($doc->getElementsByTagName('catalogueRecord') as $record) { $data[$record->getAttribute('id')] = array( - 'reservable' => ($record->getAttribute('isReservable') == 'yes') ? TRUE : FALSE, + 'reservable' => ($record->getAttribute('isReservable') == 'true') ? TRUE : FALSE, 'available' => ($record->getAttribute('isAvailable') == 'yes') ? TRUE : FALSE, ); }