From ba09e94b806b64a1d758478044205a0acbd2089a Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Mon, 14 Sep 2009 13:46:53 +0200 Subject: [PATCH] [biblibre-newacq](bug #3615) fix getmember call GetMember() is not used well, this fix. --- acqui/booksellers.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl index ad0bf0be27..6dc48f6623 100755 --- a/acqui/booksellers.pl +++ b/acqui/booksellers.pl @@ -104,7 +104,7 @@ for ( my $i = 0 ; $i < $count ; $i++ ) { $line{name} = $suppliers[$i]->{'name'}; $line{active} = $suppliers[$i]->{'active'}; my @loop_basket; - my $uid = GetMember($loggedinuser)->{userid} if $loggedinuser; + my $uid = GetMember(borrowernumber => $loggedinuser)->{userid} if $loggedinuser; for ( my $i2 = 0 ; $i2 < $ordcount ; $i2++ ) { if ( $orders->[$i2]{'authorisedby'} eq $loggedinuser || haspermission($uid, { flagsrequired => { 'acquisition' => '*' } } ) ) { my %inner_line; -- 2.39.5