Fix for BUG 1653

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Nighswonger 2007-12-13 17:59:09 -05:00 committed by Joshua Ferraro
parent f64dbb239f
commit 6bf61aa64f

View file

@ -560,6 +560,10 @@ for (my $i=0;$i<=@servers;$i++) {
previous_page_offset => $previous_page_offset) unless $pages < 2;
$template->param(next_page_offset => $next_page_offset) unless $pages eq $current_page_number;
}
else {
# Here we must handle cases where no results are returned otherwise the template gives a malformed message. -fbcit
$template->param(query_desc => $query_desc);
}
} # end of the if local
else {
# check if it's a z3950 or opensearch source