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= <div id="shelfbrowser"> 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 <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes tests and QA script, no regressions found. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
421761e274
commit
6e7192f0d7
1 changed files with 1 additions and 1 deletions
|
@ -38,4 +38,4 @@ if (C4::Context->preference("OPACShelfBrowser")) {
|
|||
}
|
||||
}
|
||||
|
||||
print $template->output;
|
||||
output_html_with_http_headers $cgi, $cookie, $template->output;
|
||||
|
|
Loading…
Reference in a new issue