--- Comment #7 from Jonathan Druart <> 
Created attachment 65840
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/ line 370.

This patch makes sure the patron exists before calling any methods.

Signed-off-by: Jonathan Druart <>

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to