From 02ce78bfc701dfaea5c8ba94927d6496d7f8f727 Mon Sep 17 00:00:00 2001
From: "gerv%gerv.net" <>
Date: Thu, 5 Sep 2002 14:28:28 +0000
Subject: Bug 166698 - clean up the error system, which was confused and
broken. Patch by gerv; r=bbaetz.
---
template/en/default/global/code-error.html.tmpl | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
(limited to 'template/en/default/global/code-error.html.tmpl')
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.
If you are a Bugzilla end-user seeing this message, please save this
--
cgit v1.2.3-24-g4f1b