From 01ab93f1730e29bec11bb1e6e978ad1a3df97f59 Mon Sep 17 00:00:00 2001 From: rangi Date: Thu, 3 Jul 2003 21:52:08 +0000 Subject: [PATCH] Fixing missing use C4::Auth call Now to fix the template --- overdue.pl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/overdue.pl b/overdue.pl index 02cb2dfc65..57e84cef71 100755 --- a/overdue.pl +++ b/overdue.pl @@ -24,19 +24,21 @@ use C4::Context; use C4::Output; use CGI; use HTML::Template; +use C4::Auth; my $input = new CGI; my $type=$input->param('type'); my $theme = $input->param('theme'); # only used if allowthemeoverride is set + my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "overdue.tmpl", - query => $query, - type => "intranet", - authnotrequired => 0, - flagsrequired => {catalogue => 1}, - debug => 1, - }); + = get_template_and_user({template_name => "overdue.tmpl", + query => $input, + type => "intranet", + authnotrequired => 0, + flagsrequired => {borrowers => 1}, + debug => 1, + }); my $duedate; my $bornum; my $itemnum; -- 2.39.2