Bug 25898: Prohibit indirect object notation
[srvgit] / circ / ypattrodue-attr-search-authvalue.pl
index 4e8e2b3..f0a694d 100755 (executable)
@@ -24,7 +24,7 @@ use C4::Context;
 use C4::Auth qw/check_cookie_auth/;
 use C4::Debug;
 
-my $input    = new CGI;
+my $input    = CGI->new;
 my $query    = $input->param('term');
 my $attrcode = $input->path_info || '';
 $attrcode =~ s|^/||;