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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 12 Oct 2023 16:00:21 +0000 (16:00 +0000)
commit5dcd47755f4ded4fb66b4cb82e1030760b81a59f
tree26f78d2117c8c279b9ce5923b61a83d3d653189a
parentfe48529cc90c9ec0537c6b3ad8d594d75f79fb97
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>
(cherry picked from commit 6054c26215e2733d95208b718da916d6962533e4)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
opac/opac-detail.pl