[Koha-bugs] [Bug 19048] Self checkout: Internal server error in sco-main.pl

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


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

--- Comment #4 from Marc Véron <veron at veron.ch> ---
Created attachment 65550
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65550&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