From adb5ed80372c7a0faee2b92a244e582fb127b285 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 9 Sep 2020 13:40:37 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 8b22c3846caa2004b411c6bd19a5d41bc602e704) Signed-off-by: Fridolin Somers --- C4/XISBN.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/XISBN.pm b/C4/XISBN.pm index 0a71eb5e45..008bb9266f 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -101,7 +101,6 @@ sub get_xisbns { # loop through each ISBN and scope to the local collection for my $response_data( @{ $response->{ 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}); -- 2.39.5