https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41870
Roman Dolny <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #193340|0 |1 is obsolete| | --- Comment #2 from Roman Dolny <[email protected]> --- Created attachment 193363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193363&action=edit Bug 41870: Warning "Use of uninitialized value $borrowernumber" in opac-detail.pl Under some circumstances (OPACShowHoldQueueDetails set, hold made, OPAC user not logged in) a warning like: [WARN] Use of uninitialized value $borrowernumber in numeric eq (==) at /kohadevbox/koha/opac/opac-detail.pl line 598. is being generated. Test plan: ========== 1. Set OPACShowHoldQueueDetails to 'Show holds and their priority levels'. 2. From staff interface, place a hold on a record for any borrower. 3. Open a fresh browser (private mode or different browser), confirm that you are not logged in, go to this record. 4. Check the content of plack-opac-error.log. You should see a warning like: [WARN] Use of uninitialized value $borrowernumber in numeric eq (==) at /kohadevbox/koha/opac/opac-detail.pl line 598 5. Apply the patch ; restart_all. 6. Repeat p. 3 & 4. There should be no new warning now. Sponsored-by: Ignatianum University in Cracow Signed-off-by: Roman Dolny <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
