Serials, use Budget instead of Bookfund
authorPaul Poulain <paul.poulain@biblibre.com>
Tue, 28 Apr 2009 21:27:13 +0000 (23:27 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 30 Sep 2009 09:30:22 +0000 (11:30 +0200)
serials/acqui-search.pl

index 408ac83..5eeaead 100755 (executable)
@@ -23,7 +23,6 @@ use warnings;
 use CGI;
 use C4::Auth;
 use C4::Output;
-use C4::Bookfund;
 
 my $query = new CGI;
 
@@ -45,7 +44,7 @@ my $sthtemp =
     "Select flags, branchcode from borrowers where borrowernumber = ?");
 $sthtemp->execute($loggedinuser);
 my ( $flags, $homebranch ) = $sthtemp->fetchrow;
-my @results = GetBookFunds($homebranch);
+my @results = GetBookFunds(1, $homebranch);
 my $count   = scalar(@results);
 
 my $classlist   = '';