Koha/opac/sco
Jonathan Druart 64a0aa541e 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: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-08-08 09:20:50 -03:00
..
help.pl Bug 14298: Use the new permission in the sco scripts 2015-09-25 11:15:48 -03:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sco-main.pl Bug 19048: (bug 17829 follow-up) Fix regression in self checkout 2017-08-08 09:20:50 -03:00
sco-patron-image.pl Bug 7550: SCO - Restrict access of patron's image 2017-05-08 09:00:26 -04:00