Bug 25898: Prohibit indirect object notation
[srvgit] / clubs / patron-enroll.pl
index 7dc5bed..3642996 100755 (executable)
@@ -25,7 +25,7 @@ use C4::Auth;
 use C4::Output;
 use Koha::Clubs;
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     {