diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 006552e82a..6913636114 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -37,7 +37,7 @@ use C4::Amazon; # use Smart::Comments; -my $query = new CGI; +my $query = CGI->new(); my ( $template, $borrowernumber, $cookie ) = get_template_and_user( { template_name => "catalogue/detail.tmpl",