Skip to content

Commit

Permalink
Merge pull request #19 from kdb/1119-support-pickup-number-strings
Browse files Browse the repository at this point in the history
Issue 1119: Support pickup numbers which are not integers.
  • Loading branch information
cableman committed Apr 23, 2015
2 parents 77ca0fe + 80b0864 commit 2477112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AlmaClient/AlmaClient.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public function get_reservations($borr_card, $pin_code) {
}

if ($reservation['status'] == 'fetchable') {
$reservation['pickup_number'] = (integer) $item->getAttribute('pickUpNo');
$reservation['pickup_number'] = $item->getAttribute('pickUpNo');
$reservation['pickup_expire_date'] = $item->getAttribute('pickUpExpireDate');
}

Expand Down

0 comments on commit 2477112

Please sign in to comment.