https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34694
Bug ID: 34694 Summary: OPAC bib record blows up with error 500 Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: OPAC Assignee: oleon...@myacpl.org Reporter: pedro.amo...@ptfs-europe.com QA Contact: testo...@bugs.koha-community.org CC: jonathan.druart+k...@gmail.com, katrin.fisc...@bsz-bw.de, lu...@bywatersolutions.com, m.de.r...@rijksmuseum.nl, martin.renvo...@ptfs-europe.com, n...@bywatersolutions.com, tomasco...@gmail.com Depends on: 30846 To reproduce, on k-t-d: - 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 Can't call method "id" on an undefined value at /kohadevbox/koha/C4/Reserves.pm line 1385 I believe this was caused by bug 30846. $patron is undefined at that point in the code. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30846 [Bug 30846] "If any unavailable" doesn't consider negative notforloan values as unavailable -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/