From 83d96e26f8795d0ad676d08179a180263d6fc4fe Mon Sep 17 00:00:00 2001 From: Steen Larsen Date: Thu, 28 Feb 2013 08:34:07 +0100 Subject: [PATCH] Adding user category from librarysystem --- lib/AlmaClient/AlmaClient.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/AlmaClient/AlmaClient.class.php b/lib/AlmaClient/AlmaClient.class.php index 6fd8f63..adbccc2 100644 --- a/lib/AlmaClient/AlmaClient.class.php +++ b/lib/AlmaClient/AlmaClient.class.php @@ -259,6 +259,7 @@ public function get_patron_info($borr_card, $pin_code, $extended = FALSE) { 'addresses' => array(), 'mails' => array(), 'phones' => array(), + 'category' => $info->getAttribute('patronCategory'), ); foreach ($info->getElementsByTagName('address') as $address) {