summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-07 08:44:43 +0200
committermkanat%bugzilla.org <>2006-09-07 08:44:43 +0200
commit666dd28a656b6893c96e837517e5ee65e19e1447 (patch)
tree7a561f1fd3b73499131f68b12f8df27199462085 /template/en/default
parenteb8c60397f360310be290d41a5c15c0c917a1891 (diff)
downloadbugzilla-666dd28a656b6893c96e837517e5ee65e19e1447.tar.gz
bugzilla-666dd28a656b6893c96e837517e5ee65e19e1447.tar.xz
Bug 351462: Errors are always displayed in plain text
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/code-error.html.tmpl2
-rw-r--r--template/en/default/global/user-error.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index e62ef7abc..9c504b827 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -411,7 +411,7 @@
[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
[% USE Bugzilla %]
-[% IF Bugzilla.error_mode != ERROR_MODE_WEBPAGE %]
+[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
[% error_message FILTER none %]
[% RETURN %]
[% END %]
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 7885abd38..9a0d04555 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1477,7 +1477,7 @@
[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
[% USE Bugzilla %]
-[% IF Bugzilla.error_mode != ERROR_MODE_WEBPAGE %]
+[% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
[% error_message FILTER none %]
[% RETURN %]
[% END %]