diff options
Diffstat (limited to 'template/en/default/global/code-error.html.tmpl')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 18e478300..a131d25d6 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -386,6 +386,13 @@ [% END %] [% END %] +[%# If we are in batch mode, we want the error message to be plain text, not HTML %] +[% USE Bugzilla %] +[% IF Bugzilla.batch %] + [% error_message FILTER none %] + [% RETURN %] +[% END %] + [% UNLESS header_done %] [% PROCESS global/header.html.tmpl %] [% END %] |