[Koha-patches] [PATCH] REFACTOR: correcting indirect object method syntax

Andrew Moore andrew.moore at liblime.com
Wed Dec 17 23:31:25 CET 2008


---
 catalogue/detail.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/catalogue/detail.pl b/catalogue/detail.pl
index 19b8dd9..fd2b177 100755
--- a/catalogue/detail.pl
+++ b/catalogue/detail.pl
@@ -36,7 +36,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",
-- 
1.5.6




More information about the Koha-patches mailing list