From 711c64931502ff978631bfdfa8531f778837d17c Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Fri, 26 Feb 2010 21:37:49 +0100 Subject: [PATCH] (MT 2563) : ILSDI PatronLookUp Problem owed to the change in C4::Members API, GetMember had to be adapted Signed-off-by: Galen Charlton --- C4/ILSDI/Services.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 9284885a51..51ff021c20 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -293,6 +293,7 @@ sub LookupPatron { my ($cgi) = @_; # Get the borrower... +<<<<<<< HEAD:C4/ILSDI/Services.pm <<<<<<< HEAD:C4/ILSDI/Services.pm my $borrower = GetMember($cgi->param('id_type') => $cgi->param('id')); if ( not $borrower->{'borrowernumber'} ) { @@ -303,6 +304,9 @@ sub LookupPatron { my $patron->{'id'} = $borrower->{'borrowernumber'}; ======= my $borrower = GetMember( $cgi->param('id'), $cgi->param('id_type') ); +======= + my $borrower = GetMember( $cgi->param('id_type')||"borrowernumber",$cgi->param('id') ); +>>>>>>> (MT 2563) : ILSDI PatronLookUp Problem:C4/ILSDI.pm return { code => 'PatronNotFound' } unless $$borrower{borrowernumber}; >>>>>>> [MT2306_2271] ILS-DI Message codes consistence:C4/ILSDI.pm -- 2.39.5