A case I meet with a customer's borrower, the argument passed to the sub, could be undefined, in this case koha is not happy. I just put a condition, the same logic than for the line below. To test : you need to have in moremember.pl a borrower that returns 'undefined' for '$issue->{date_due}' with GetPendingIssues. Or read the code I think it is clear. Thx.
Created attachment 11219 [details] [review] proposed patch
Created attachment 11376 [details] [review] Bug 8537 : In moremember.pl the call of 'output_pref' is without check the argument passed to "output_pref", could be undefined, in this case koha is not happy. I just put a condition, the same logic than for the line below. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
QA Comments: This patch becomes useless with the patch proposed by Robin for Bug 8532. I mark this one as Resolved *** This bug has been marked as a duplicate of bug 8532 ***