From 7e9f67d0308d4328d530244efc7c9db25b38302f Mon Sep 17 00:00:00 2001 From: rangi Date: Sat, 3 May 2003 00:28:13 +0000 Subject: [PATCH] Fixing bug 428 --- bookcount.pl | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bookcount.pl b/bookcount.pl index 74fd1ad493..03605bd31f 100755 --- a/bookcount.pl +++ b/bookcount.pl @@ -29,6 +29,8 @@ use C4::Context; use C4::Search; use C4::Circulation::Circ2; use C4::Output; +use C4::Koha; +use C4::Auth; use HTML::Template; # get all the data .... @@ -61,7 +63,17 @@ if (not $lastmove) { } # make the page ... -my $template = gettemplate("bookcount.tmpl"); + +my ($template, $loggedinuser, $cookie) + = get_template_and_user({template_name => "bookcount.tmpl", + query => $input, + type => "intranet", + authnotrequired => 0, + flagsrequired => {borrowers => 1}, + debug => 1, + }); + + my @branchloop; -- 2.39.5