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(),