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 <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Liz Rea 2011-05-20 14:41:20 -05:00 committed by Chris Cormack
parent b65f6d0a99
commit 14364d9866

View file

@ -621,7 +621,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(),