Bug 5182

Summary: Attempting to export a patron card with no text causes an error to be thrown
Product: Koha Reporter: Chris Nighswonger <cnighswonger>
Component: Label/patron card printingAssignee: Chris Nighswonger <cnighswonger>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: critical    
Priority: PATCH-Sent (DO NOT USE)    
Version: rel_3_2   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Chris Nighswonger 2010-08-27 18:28:42 UTC
Specifically:

Can't use an undefined value as an ARRAY reference at /home/koha/koha.prod/C4/Patroncards/Patroncard.pm line 86.

This is caused by testing for text at line 87 rather than line 85. A patch is forth coming to fix this.
Comment 1 Chris Nighswonger 2010-09-09 19:56:32 UTC
Pull request submitted.

Patch is available here:

http://git.koha-community.org/gitweb/?p=wip/koha-fbc.git;a=commit;h=a51ca36ea9130fe8ba52e8e2c42a25bf75d21106