Bug 33290: Fix incorrect variable in http-client.js
[koha-ffzg.git] / serials / serials-home.pl
index cf59cb8..a0e4bc0 100755 (executable)
@@ -30,12 +30,12 @@ this script is the main page for serials/
 
 use Modern::Perl;
 use CGI qw ( -utf8 );
-use C4::Auth;
+use C4::Auth qw( get_template_and_user );
 use C4::Context;
-use C4::Output;
+use C4::Output qw( output_html_with_http_headers );
 use C4::Serials;
 
-my $query   = new CGI;
+my $query   = CGI->new;
 my $routing = $query->param('routing') || C4::Context->preference("RoutingSerials");
 
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
@@ -43,9 +43,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
         template_name   => "serials/serials-home.tt",
         query           => $query,
         type            => "intranet",
-        authnotrequired => 0,
         flagsrequired   => { serials => '*' },
-        debug           => 1,
     }
 );