summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/report.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports/report.html.tmpl')
-rw-r--r--template/en/default/reports/report.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index 535a8c503..3d3114d20 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -128,7 +128,7 @@
[% formaturl = "report.cgi?$switchbase&width=$width&height=$height" _
"&action=wrap" %]
[% FOREACH other_format = formats %]
- [% NEXT IF other_format.name == "pie" AND row_field %]
+ [% NEXT IF other_format.name == "pie" AND row_field AND col_field %]
[% UNLESS other_format.name == format %]
<a href="[% formaturl %]&amp;format=[% other_format.name %]">
[% END %]