[Koha-bugs] [Bug 17829] Move GetMember to Koha::Patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 7 15:39:12 CEST 2017


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

--- Comment #30 from Marc Véron <veron at veron.ch> ---
Created attachment 65549
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65549&action=edit
Bug 19048: (bug 17829 follow-up) Fix regression in self checkout

$patronid is not necessarily set or does not match a valid cardnumber.
These cases must be taken into account to avoid the script to crash and
raise the following error:
Can't call method "unblessed" on an undefined value at
(...)/koha/opac/sco/sco-main.pl line 117

Test plan:
Hit sco/sco-main.pl and confirm that the error is gone with this patch
applied

Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list