diff --git a/catalogue/showelastic.pl b/catalogue/showelastic.pl index 6bbf569b64..d9b2c53dbd 100755 --- a/catalogue/showelastic.pl +++ b/catalogue/showelastic.pl @@ -39,7 +39,7 @@ use C4::XSLT ; use Koha::SearchEngine::Elasticsearch; use LWP::Simple qw/get/; -my $input= new CGI; +my $input= CGI->new; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { template_name => "catalogue/showelastic.tt",