From fbf4215d9e9587ba0d989f939af1ef3c6ed94e99 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 Content-Type: text/plain; charset="utf-8" Signed-off-by: Owen Leonard This successfully fixes the problem observed when a patron has no checkouts. --- 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 208d2f9..39897db 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' ); -- 1.7.9.5