fix for 2322: Failure to reach amazon.com to retrieve enhanced content causes fatal error in Koha
This commit is contained in:
parent
4e88d7831b
commit
36f72775fe
|
|
@ -86,7 +86,7 @@ sub get_amazon_details {
|
|||
my $response = $xmlsimple->XMLin(
|
||||
$content,
|
||||
forcearray => [ qw(SimilarProduct EditorialReview Review) ],
|
||||
);
|
||||
) unless !$content;
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue