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.
---
 reports/guided_reports.pl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl
index 600ac29..a341241 100755
--- a/reports/guided_reports.pl
+++ b/reports/guided_reports.pl
@@ -621,7 +621,8 @@ sub header_cell_loop {
 }
 
 foreach (1..6) {
-    $template->param('build' . $_) and $template->param(buildx => $_) and last;
+#    $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(),
-- 
1.7.2.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to