followup Amazon.pm bugfix fd4ed72988a0a00a97a9a74bd89b017453bb276b
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 17 Sep 2009 12:51:27 +0000 (14:51 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 17 Sep 2009 12:52:00 +0000 (14:52 +0200)
C4/External/Amazon.pm

index ced64c7..18e9fcc 100644 (file)
@@ -82,8 +82,8 @@ Get editorial reviews, customer reviews, and similar products using Amazon Web S
 sub get_amazon_details {
     my ( $isbn, $record, $marcflavour,$awsref ) = @_;
 
-   return unless defined $aws_ref;
-   my @aws = @$aws_ref;
+   return unless defined $awsref;
+   my @aws = @$awsref;
    return if $#aws == -1;
 
     #normalize the ISBN