Bug 25898: Prohibit indirect object notation
[koha-ffzg.git] / authorities / blinddetail-biblio-search.pl
index 993615d..478a1bf 100755 (executable)
@@ -49,7 +49,7 @@ use C4::Koha;
 use Koha::Authorities;
 use Koha::Authority::Types;
 
-my $query = new CGI;
+my $query = CGI->new;
 
 my $dbh = C4::Context->dbh;
 
@@ -64,7 +64,6 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
         template_name   => "authorities/blinddetail-biblio-search.tt",
         query           => $query,
         type            => "intranet",
-        authnotrequired => 0,
         flagsrequired   => { editcatalogue => 'edit_catalogue' },
     }
 );