From a375df7e51fb1e8d73305c607d84363dfdf92d00 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 8 Sep 2014 16:09:22 +0200 Subject: [PATCH] [PASSED QA] Bug 12886: shelfbrowser script should write headers opac/svc/shelfbrowser.pl does not write http headers. On a production server, this patch resolves a server internal error (500): Bad header=
I did not reproduce on my local instance, but this should be fixed. Test plan: Verify there is no regression on browsing a shelf (with "en" and translated templates) Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Passes tests and QA script, no regressions found. --- opac/svc/shelfbrowser.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/svc/shelfbrowser.pl b/opac/svc/shelfbrowser.pl index 33c9cde..611c503 100755 --- a/opac/svc/shelfbrowser.pl +++ b/opac/svc/shelfbrowser.pl @@ -38,4 +38,4 @@ if (C4::Context->preference("OPACShelfBrowser")) { } } -print $template->output; +output_html_with_http_headers $cgi, $cookie, $template->output; -- 1.9.1