From 0ee4621e7828a205189368aa9b8a515574d9c030 Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Sun, 20 Aug 2006 00:20:23 +0000 Subject: Bug 224577: Bugzilla could use a web services interface. Patch by Marc Schumann ; r=mkanat; a=myk --- template/en/default/global/user-error.html.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'template/en/default/global/user-error.html.tmpl') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index c1bb099cf..53fb3ae27 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1422,9 +1422,11 @@ [% END %] [% END %] -[%# If we are in batch mode, we want the error message to be plain text, not HTML %] +[%# If we are in ERROR_MODE_DIE, we want the error message to be plain text, + # not HTML +%] [% USE Bugzilla %] -[% IF Bugzilla.batch %] +[% IF Bugzilla.error_mode == ERROR_MODE_DIE %] [% error_message FILTER none %] [% RETURN %] [% END %] -- cgit v1.2.3-24-g4f1b