Bug 34694: Only check for IsAvailableForItemLevelRequest if is authenticated
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 1 Sep 2023 16:12:56 +0000 (16:12 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 20 Sep 2023 07:53:08 +0000 (21:53 -1000)
commit6054c26215e2733d95208b718da916d6962533e4
tree9ca3bff630f0fe5f072f915405ab603046f4b5c7
parenta9b76c2254d1f5a1823fdf9f444fc70052ff3e7a
Bug 34694: Only check for IsAvailableForItemLevelRequest if is authenticated

- Go to circulation rules and set On shelf holds allowed to If all unavailable
- Log out
- Visit a bib record on OPAC:
http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=76
- Notice it blows up with error 500
- Apply patch. Repeat

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 1742913a0522c589705c5e54ce13c6ef1c7463ea)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-detail.pl