Bug 25898: Prohibit indirect object notation
[koha-ffzg.git] / opac / opac-account-pay-paypal-return.pl
index fd33e72..5fb9b8c 100755 (executable)
@@ -32,7 +32,7 @@ use Koha::Acquisition::Currencies;
 use Koha::Database;
 use Koha::Patrons;
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 unless ( C4::Context->preference('EnablePayPalOpacPayments') ) {
     print $cgi->redirect("/cgi-bin/koha/errors/404.pl");