diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-11-12 17:41:08 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-11-12 17:41:20 +0100 |
commit | 874e96c2423c772564c9dc63254baa99e86f270b (patch) | |
tree | 21e396b52b8fa54a3da946b90f5242992e660aee /template/en/default/global | |
parent | 085878323cb82810bc2cd3f00ce925bb49c70156 (diff) | |
download | bugzilla-874e96c2423c772564c9dc63254baa99e86f270b.tar.gz bugzilla-874e96c2423c772564c9dc63254baa99e86f270b.tar.xz |
Bug 1314201 - ThrowUserError and ThrowCodeError should print headers if headers have not already been printed
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 18650de7d..f78c954d7 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -198,6 +198,10 @@ [% title = "Field Type Not Specified" %] You must specify a type when creating a custom field. + [% ELSIF error == "headers_already_sent" %] + [% title = "Tried to send headers twice" %] + Somewhere inside [% terms.Bugzilla %], code attempted to sent HTTP headers more than once. + [% ELSIF error == "illegal_content_type_method" %] Your form submission got corrupted somehow. The <em>content method</em> field, which specifies how the content type gets determined, |