summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/report-table.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports/report-table.html.tmpl')
-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">