projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
505087a
)
Whoops extra } crept in when fixing a merge conflict, removing it
author
Chris Cormack
<chris@bigballofwax.co.nz>
Tue, 12 May 2009 10:13:10 +0000
(22:13 +1200)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:34 +0000
(23:19 +0200)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
opac/opac-search.pl
patch
|
blob
|
history
diff --git
a/opac/opac-search.pl
b/opac/opac-search.pl
index
cac50e7
..
7f7734b
100755
(executable)
--- a/
opac/opac-search.pl
+++ b/
opac/opac-search.pl
@@
-455,7
+455,10
@@
for (my $i=0;$i<=@servers;$i++) {
}
$_ ->{'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};