summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-09-29 13:47:13 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-09-29 13:47:13 +0200
commit268bc33484b25003db28f659d14328798e8830e4 (patch)
treeeb335ed91c379e911f895c099e044b2238ab6f7c /template
parent04313ae18ed5a139558aa7dad9f8bad23d13caa8 (diff)
downloadbugzilla-268bc33484b25003db28f659d14328798e8830e4.tar.gz
bugzilla-268bc33484b25003db28f659d14328798e8830e4.tar.xz
Bug 793893: Tabular reports crash when no format parameter is defined
r=glob a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/filterexceptions.pl1
-rw-r--r--template/en/default/reports/report.html.tmpl2
2 files changed, 1 insertions, 2 deletions
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index 3e2a71e2c..d804ad8fa 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -106,7 +106,6 @@
'other_format.name',
'sizeurl',
'switchbase',
- 'format',
'cumulate',
],
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index d4c9d4043..94725ae81 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -170,7 +170,7 @@
this report</a>
[% ELSE %]
<a href="query.cgi?[% switchbase %]&amp;chart_format=
- [% format %]&amp;format=report-graph&amp;cumulate=[% cumulate %]">
+ [% format FILTER uri %]&amp;format=report-graph&amp;cumulate=[% cumulate %]">
Edit this report
</a>
[% END %]