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

(-)a/opac/opac-user.pl (-6 / +3 lines)
Lines 357-367 $template->param( Link Here
357
);
357
);
358
358
359
359
360
if ($ENV{HTTP_REFERER} =~ /opac-search.pl/ || $ENV{HTTP_REFERER} =~ /eds-search.pl/) {
360
if ( !$ENV{HTTP_REFERER} =~ /opac-search.pl/ || !$ENV{HTTP_REFERER} =~ /eds-search.pl/ ) {
361
    #print redirect(referer());
361
    output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 };
362
    #print "Location: $ENV{HTTP_REFERER}\n\n";
363
    output_with_redirect($query, $ENV{HTTP_REFERER}, $cookie);
364
}
362
}
365
else {
363
else {
366
    output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 };
364
    output_with_redirect( $query, $ENV{HTTP_REFERER}, $cookie );
367
}
365
}
368
- 

Return to bug 17153