Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
}
$_ ->{'clean_isbn'} = $1;
}
}
$_ ->{'clean_isbn'} = $1;
}
- $total = $total + $results_hashref->{$server}->{"hits"};
+
+ if ($results_hashref->{$server}->{"hits"}){
+ $total = $total + $results_hashref->{$server}->{"hits"};
+ }
## If there's just one result, redirect to the detail page
if ($total == 1) {
my $biblionumber=$newresults[0]->{biblionumber};
## If there's just one result, redirect to the detail page
if ($total == 1) {
my $biblionumber=$newresults[0]->{biblionumber};