Commit 666dd28a authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 351462: Errors are always displayed in plain text

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
parent eb8c6039
...@@ -411,7 +411,7 @@ ...@@ -411,7 +411,7 @@
[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %] [%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
[% USE Bugzilla %] [% USE Bugzilla %]
[% IF Bugzilla.error_mode != ERROR_MODE_WEBPAGE %] [% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
[% error_message FILTER none %] [% error_message FILTER none %]
[% RETURN %] [% RETURN %]
[% END %] [% END %]
......
...@@ -1477,7 +1477,7 @@ ...@@ -1477,7 +1477,7 @@
[%# We only want HTML error messages for ERROR_MODE_WEBPAGE %] [%# We only want HTML error messages for ERROR_MODE_WEBPAGE %]
[% USE Bugzilla %] [% USE Bugzilla %]
[% IF Bugzilla.error_mode != ERROR_MODE_WEBPAGE %] [% IF Bugzilla.error_mode != constants.ERROR_MODE_WEBPAGE %]
[% error_message FILTER none %] [% error_message FILTER none %]
[% RETURN %] [% RETURN %]
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment