fix for 2322: Failure to reach amazon.com to retrieve enhanced content causes fatal error in Koha

This commit is contained in:
Joshua Ferraro 2008-07-08 16:31:04 -05:00
parent 4e88d7831b
commit 36f72775fe
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ sub get_amazon_details {
my $response = $xmlsimple->XMLin(
$content,
forcearray => [ qw(SimilarProduct EditorialReview Review) ],
);
) unless !$content;
return $response;
}