10 Aug
2017
10 Aug
'17
7:22 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19074 --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 65840 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65840&action=edit Bug 19074: Do not crash if cardnumber does not exist If a cardnumber does not exist, $borrower will be undef and the ->category call will explode Can't call method "category" on an undefined value at /home/vagrant/kohaclone/tools/modborrowers.pl line 370. This patch makes sure the patron exists before calling any methods. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.