Bug 25898: Prohibit indirect object notation
[srvgit] / plugins / run.pl
index 3aa3ab1..d050f47 100755 (executable)
@@ -29,7 +29,7 @@ use C4::Context;
 
 my $plugins_enabled = C4::Context->config("enable_plugins");
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 my $class  = $cgi->param('class');
 my $method = $cgi->param('method');