Skip to content
Snippets Groups Projects

Hotline

Merged Ghislain Loas requested to merge hotline into master
Compare and
14 files
+ 257
24
Preferences
Compare changes
Files
14
@@ -42,10 +42,14 @@ class Class_Webservice_SIGB_BiblixNet_Service extends Class_WebService_SIGB_Abst
* @return Class_WebService_SIGB_Emprunteur
*/
public function getEmprunteur($user) {
return $this->ilsdiGetPatronInfo(array('patronId' => $user->getIdSigb(),
$borrower = $this->ilsdiGetPatronInfo(['patronId' => $user->getIdSigb(),
'showLoans' => '1',
'showHolds' => '1'),
Class_WebService_SIGB_BiblixNet_PatronInfoReader::newInstance());
'showHolds' => '1'],
Class_WebService_SIGB_BiblixNet_PatronInfoReader::newInstance());
if ($borrower->getId())
$borrower->beValid();
return $borrower;
}