Bug 25898: Prohibit indirect object notation
[srvgit] / catalogue / search.pl
index b6b3872..a5e0ecb 100755 (executable)
@@ -163,7 +163,7 @@ my $DisplayMultiPlaceHold = C4::Context->preference("DisplayMultiPlaceHold");
 # create a new CGI object
 # FIXME: no_undef_params needs to be tested
 use CGI qw('-no_undef_params' -utf8 );
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 # decide which template to use
 my $template_name;