Bug 23091: Add template handling for new messages
[srvgit] / circ / on-site_checkouts.pl
index 6118a56..c581e8e 100755 (executable)
@@ -24,7 +24,7 @@ use C4::Output;
 use C4::Koha;
 use Koha::BiblioFrameworks;
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(
     {