From c7191ea62a8e4dc4d715bea4e2b629f3397d65bc Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 20 May 2011 14:41:20 -0500 Subject: [PATCH] Bug 6258 - Guided reports wizard 'Build new' brings up empty page Patch fixes a TT error that caused Build New to be empty. To test: Click More -> Reports, you should see the welcome page and be able to step through creating the report. Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack (cherry picked from commit 14364d9866dd65abb737a59e49f297328edde83d) Signed-off-by: Chris Nighswonger --- reports/guided_reports.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 9745134b18..b939ab8945 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -601,7 +601,7 @@ sub header_cell_loop { } foreach (1..6) { - $template->param('build' . $_) and $template->param(buildx => $_) and last; + $template->{VARS}->{'build' . $_} and $template->{VARS}->{'buildx' . $_} and last; } $template->param( 'referer' => $input->referer(), 'DHTMLcalendar_dateformat' => C4::Dates->DHTMLcalendar(), -- 2.39.5