Bug 27465: Add column visibility to admin/cities.pl
[koha-ffzg.git] / admin / check_parent_total.pl
index 6da8d28..49d4ba7 100755 (executable)
@@ -34,7 +34,7 @@ to determine whether the new parent budget (or period) has enough unallocated fu
 =cut
 
 my $dbh = C4::Context->dbh;
-my $input = new CGI;
+my $input = CGI->new;
 
 my $total     = $input->param('total');
 my $budget_id = $input->param('budget_id');
@@ -46,7 +46,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     {   template_name   => "acqui/ajax.tt",
         query           => $input,
         type            => "intranet",
-        authnotrequired => 0,
         debug           => 0,
     }
 );