From 17d0f7d4ecc30eb1b0e7a5ea94fcd06393347150 Mon Sep 17 00:00:00 2001 From: Andrew Moore Date: Wed, 17 Dec 2008 16:31:25 -0600 Subject: [PATCH] REFACTOR: correcting indirect object method syntax Signed-off-by: Galen Charlton --- catalogue/detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5