From 666dd28a656b6893c96e837517e5ee65e19e1447 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 7 Sep 2006 06:44:43 +0000 Subject: Bug 351462: Errors are always displayed in plain text Patch By Max Kanat-Alexander r=LpSolit, a=myk --- template/en/default/global/code-error.html.tmpl | 2 +- template/en/default/global/user-error.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/global') 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 %] -- cgit v1.2.3-24-g4f1b