summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Error.pm
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-02-25 12:02:50 +0100
committermkanat%kerio.com <>2005-02-25 12:02:50 +0100
commitbd2fa9ea77fb4097565ffbe1f6425598c6f8f31e (patch)
treee21bd482d8daf5d679be1c48213a70b73707f7d5 /Bugzilla/Error.pm
parente55f50413748e341795cc9233f61ffc26f346df5 (diff)
downloadbugzilla-bd2fa9ea77fb4097565ffbe1f6425598c6f8f31e.tar.gz
bugzilla-bd2fa9ea77fb4097565ffbe1f6425598c6f8f31e.tar.xz
Bug 282074: Software error instead of Bugzilla's "Internal Error" Message
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=joel, a=myk
Diffstat (limited to 'Bugzilla/Error.pm')
-rw-r--r--Bugzilla/Error.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm
index e86b1c41a..4c6288a28 100644
--- a/Bugzilla/Error.pm
+++ b/Bugzilla/Error.pm
@@ -108,9 +108,9 @@ sub ThrowTemplateError {
# Try a template first; but if this one fails too, fall back
# on plain old print statements.
if (!$template->process("global/code-error.html.tmpl", $vars)) {
- my $maintainer = Param('maintainer');
- my $error = html_quote($vars->{'template_error_msg'});
- my $error2 = html_quote($template->error());
+ my $maintainer = Bugzilla::Config::Param('maintainer');
+ my $error = Bugzilla::Util::html_quote($vars->{'template_error_msg'});
+ my $error2 = Bugzilla::Util::html_quote($template->error());
print <<END;
<tt>
<p>