From b48c9ff9ecddbb7a13ae4d1217a5c6f074a227e9 Mon Sep 17 00:00:00 2001 From: toins Date: Thu, 27 Jul 2006 13:57:57 +0000 Subject: [PATCH] Add call to Bookfund.pm --- serials/acqui-search.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/serials/acqui-search.pl b/serials/acqui-search.pl index d982ff9808..f9ee6c4b4a 100755 --- a/serials/acqui-search.pl +++ b/serials/acqui-search.pl @@ -26,8 +26,9 @@ use C4::Output; use C4::Interface::CGI::Output; use C4::Database; use HTML::Template; -use C4::Acquisition; +use C4::Bookfund; my $query = new CGI; + my ($template, $loggedinuser, $cookie) = get_template_and_user({template_name => "serials/acqui-search.tmpl", query => $query, @@ -70,8 +71,8 @@ for (my $i=0;$i<$count;$i++){ $totavail+=$avail; } #currencies -my $rates=GetCurrencies(); -my $count = scalar @$rates; +my @rates=GetCurrencies(); +my $count = scalar @rates; my @loop_currency = (); for (my $i=0;$i<$count;$i++){ -- 2.39.5