Bug 5182 - Attempting to export a patron card with no text causes an error to be...
authorChris Nighswonger <cnighswonger@foundations.edu>
Wed, 8 Sep 2010 20:03:15 +0000 (16:03 -0400)
committerChris Nighswonger <cnighswonger@foundations.edu>
Fri, 10 Sep 2010 22:28:30 +0000 (18:28 -0400)
commitfe99800a2e39fba1c6369bdfe3f600119308514a
tree2663cc10109f911f28d120969d433558debcd3e1
parente58961f689422aa1d5ed4518820481b16d62cb4a
Bug 5182 - Attempting to export a patron card with no text causes an error to be thrown

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. This patch moves the test to line 85.
C4/Patroncards/Patroncard.pm