@@ -, +, @@ --- C4/Search.pm | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -1698,7 +1698,10 @@ sub searchResults { # loop through all of the records we've retrieved for ( my $i = $offset ; $i <= $times - 1 ; $i++ ) { - my $marcrecord = MARC::File::USMARC::decode( $marcresults->[$i] ); + my $marcrecord = eval { MARC::File::USMARC::decode( $marcresults->[$i] ) }; + warn "ERROR DECODING RECORD - $@: " . $marcresults->[$i] if $@; + next if $@; + my $fw = $scan ? undef : $bibliotag < 10 --