diff options
author | gerv%gerv.net <> | 2002-09-05 16:28:28 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-09-05 16:28:28 +0200 |
commit | 02ce78bfc701dfaea5c8ba94927d6496d7f8f727 (patch) | |
tree | 6d99a8b9966a0c7f81663d88f9acbd583f53914c /template/en/default/global/code-error.html.tmpl | |
parent | 7fb4c30eea4e7a34d07f5e9eff5b379c98da7913 (diff) | |
download | bugzilla-02ce78bfc701dfaea5c8ba94927d6496d7f8f727.tar.gz bugzilla-02ce78bfc701dfaea5c8ba94927d6496d7f8f727.tar.xz |
Bug 166698 - clean up the error system, which was confused and broken. Patch by gerv; r=bbaetz.
Diffstat (limited to 'template/en/default/global/code-error.html.tmpl')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 65f8bf672..a74d014cd 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -21,9 +21,7 @@ [%# INTERFACE: # header_done: boolean. True if the header has already been printed. - # error: string. The tag of the error, or the error message to be displayed - # (deprecated). May contain HTML if it's an error message. - # title: string. If error is an error message, the title (deprecated.) + # error: string. The tag of the error. # variables: hash. Useful data about the problem. The keys are the variable # names, and the values the variable values. #%] @@ -72,7 +70,7 @@ [%# Give sensible error if error functions are used incorrectly. #%] You are using Bugzilla's ThrowCodeError() function incorrectly. You - passed in the string '[% message_tag %]'. The correct use is to pass + passed in the string '[% error %]'. The correct use is to pass in a tag, and define that tag in the file code-error.html.tmpl.<br> <br> If you are a Bugzilla end-user seeing this message, please save this |