From 1e98ff655db0e85ee3a2564dadcd8a397b21c505 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 18 Nov 2014 13:20:19 -0500 Subject: [PATCH] Bug 12971 [QA Followup] - Fix error caused by patron not having any checkouts Signed-off-by: Owen Leonard This successfully fixes the problem observed when a patron has no checkouts. Signed-off-by: Tomas Cohen Arazi --- members/summary-print.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/summary-print.pl b/members/summary-print.pl index 208d2f9b20..39897db344 100755 --- a/members/summary-print.pl +++ b/members/summary-print.pl @@ -76,7 +76,7 @@ output_html_with_http_headers $input, $cookie, $template->output; sub build_issue_data { my $issues = shift; - my $return; + my $return = []; my $today = DateTime->now( time_zone => C4::Context->tz ); $today->truncate( to => 'day' ); -- 2.39.5