View | Details | Raw Unified | Return to bug 29284
Collapse All | Expand All

(-)a/catalogue/search.pl (-1 / +4 lines)
Lines 507-513 eval { Link Here
507
};
507
};
508
508
509
if ($@ || $error) {
509
if ($@ || $error) {
510
    $template->param(query_error => $error.$@);
510
    my $query_error = q{};
511
    $query_error .= $error if $error;
512
    $query_error .= $@ if $@;
513
    $template->param(query_error => $query_error);
511
    output_html_with_http_headers $cgi, $cookie, $template->output;
514
    output_html_with_http_headers $cgi, $cookie, $template->output;
512
    exit;
515
    exit;
513
}
516
}
(-)a/opac/opac-search.pl (-2 / +4 lines)
Lines 574-580 if ($tag) { Link Here
574
574
575
# use Data::Dumper; print STDERR "-" x 25, "\n", Dumper($results_hashref);
575
# use Data::Dumper; print STDERR "-" x 25, "\n", Dumper($results_hashref);
576
if (not $tag and ( $@ || $error)) {
576
if (not $tag and ( $@ || $error)) {
577
    $template->param(query_error => $error.$@);
577
    my $query_error = q{};
578
    $query_error .= $error if $error;
579
    $query_error .= $@ if $@;
580
    $template->param(query_error => $query_error);
578
    output_html_with_http_headers $cgi, $cookie, $template->output;
581
    output_html_with_http_headers $cgi, $cookie, $template->output;
579
    exit;
582
    exit;
580
}
583
}
581
- 

Return to bug 29284