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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Sep 2023 14:52:27 +0000 (11:52 -0300)
commit1742913a0522c589705c5e54ce13c6ef1c7463ea
tree297110846595adcbf4361909aae5c90f5d0e9e2c
parentcac122b6117d10f58fefa437a67b9f23ed9ab947
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>
opac/opac-detail.pl