[Koha-bugs] [Bug 30099] Error when accessing circulation.pl without patron parameter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 14 21:40:32 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30099

--- Comment #2 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 130571
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130571&action=edit
Bug 30099: Fix error when accessing circulation.pl without patron parameter

If I access circulation.pl directly, with no patron cardnumber or
borrowernumber submitted, I get an error:
Can't call method "messages" on an undefined value at
/kohadevbox/koha/circ/circulation.pl line 525

This is caused by Bug 29230 which calls $patron outside a
"if ($aptron)".

Test plan :
1) In staff interface, click in 'check out' search box
2) Hit enter (without a search text)
=> Without patch you get an error
=> With patch you see a blank page /cgi-bin/koha/circ/circulation.pl

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list