Bug 24412: (follow-up) prevent request.pl from failing
authorNicolas Legrand <nicolas.legrand@bulac.fr>
Thu, 5 Nov 2020 13:10:09 +0000 (14:10 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Nov 2020 14:55:17 +0000 (15:55 +0100)
commit3de906ac139852793ea06a41d7af284d6059e7bf
tree42dde8fff41f87e70c494d7da08bd49cc0ed47ac
parent351eb6c26d68342d8dc20fb8f68b7e28ba007820
Bug 24412: (follow-up) prevent request.pl from failing

When no desk is defined request.pl returns an internal server
error. Check a desk is defined before asking for reservation deskname.

Plan test:

1. log in with a library with no desk
2. check in a reserved book so it'll be switch to “waiting reserve”
3. go to the book notice and click the Holds tab (request.pl page)
4. boum
5. apply patch, restart plack
6. refresh page
7. now loading properly

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
reserve/request.pl