[Koha-bugs] [Bug 19074] Show patron category description instead of code in patron batch modification list
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 10 20:22:25 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19074
--- Comment #7 from Jonathan Druart <jonathan.druart at 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 at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list