Bug 26364: Remove useless condition
$response_data is a hash with one key, content Why are we checkiing it against a string? Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
854d404a9c
commit
8b22c3846c
|
|
@ -102,7 +102,6 @@ sub get_xisbns {
|
|||
# loop through each ISBN and scope to the local collection
|
||||
for my $response_data( @{ $response->{ isbn } } ) {
|
||||
next if $response_data->{'content'} eq $isbn;
|
||||
next if $isbn eq $response_data;
|
||||
next if $unique_xisbns->{ $response_data->{content} };
|
||||
$unique_xisbns->{ $response_data->{content} }++;
|
||||
my $xbiblio= _get_biblio_from_xisbn($response_data->{content});
|
||||
|
|
|
|||
Loading…
Reference in New Issue