REFACTOR: correcting indirect object method syntax
authorAndrew Moore <andrew.moore@liblime.com>
Wed, 17 Dec 2008 22:31:25 +0000 (16:31 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 7 Jan 2009 01:26:41 +0000 (19:26 -0600)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
catalogue/detail.pl

index 006552e..6913636 100755 (executable)
@@ -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",