summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-06-11 12:42:50 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-06-11 12:42:50 +0200
commitb468c6e0c76d557b62ba9bcc05945437c465d06d (patch)
tree5cf9d9fc5e76545695b3ccc6498f3168fb5b0938 /template/en/default/reports
parentb326ea1e0b07ca34086fec764ff0bba784e5ad30 (diff)
downloadbugzilla-b468c6e0c76d557b62ba9bcc05945437c465d06d.tar.gz
bugzilla-b468c6e0c76d557b62ba9bcc05945437c465d06d.tar.xz
Fixes several bugs at once related to New Charts:
Bug 610739: YUI-generated tabular reports do not work if only one axis is set Bug 617676: Wrong URLs in the "Total" row at the bottom of tabular reports when JS is enabled Bug 655848: Use of uninitialized value $tbl in string eq at /var/www/html/bugzilla/report.cgi line 162 r/a=LpSolit
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/report-table.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl
index cd854230f..f1418e6a9 100644
--- a/template/en/default/reports/report-table.html.tmpl
+++ b/template/en/default/reports/report-table.html.tmpl
@@ -187,7 +187,7 @@ YAHOO.util.Event.addListener(window, "load", function() {
[% FOREACH col = col_names %]
[% row_total = row_total + data.$tbl.$col.$row %]
[% NEXT IF col == "" %]
- [% col_totals.$col = col_totals.$col + data.$tbl.$col.$row %]
+ [% col_totals.$col = (col_totals.$col || 0) + data.$tbl.$col.$row %]
[% col_idx = 1 - col_idx %]
<td class="[% classes.$row_idx.$col_idx %]" align="center">