Bug 12886: shelfbrowser script should write headers
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 8 Sep 2014 14:09:22 +0000 (16:09 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 21 Nov 2014 23:54:38 +0000 (20:54 -0300)
commit6e7192f0d7a465fda091803baecf52ab88f550d4
treed8006a2922f149635bb8ed622ef9ff58d502fa4d
parent421761e2743ab260092a5234b7b8b1c33c64107f
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>
opac/svc/shelfbrowser.pl