From af4016495104a313574376369521c4b6f84bb1f1 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 17 Sep 2009 14:51:27 +0200 Subject: [PATCH] followup Amazon.pm bugfix fd4ed72988a0a00a97a9a74bd89b017453bb276b --- C4/External/Amazon.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/External/Amazon.pm b/C4/External/Amazon.pm index ced64c7e8a..18e9fcce55 100644 --- a/C4/External/Amazon.pm +++ b/C4/External/Amazon.pm @@ -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 -- 2.39.5