From 349fb07f6c7db647e393460d6dbd748a72064792 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" Date: Fri, 25 Feb 2005 03:02:50 +0000 Subject: [PATCH] Bug 282074: Software error instead of Bugzilla's "Internal Error" Message Patch By Max Kanat-Alexander r=joel, a=myk --- webtools/bugzilla/Bugzilla/Error.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webtools/bugzilla/Bugzilla/Error.pm b/webtools/bugzilla/Bugzilla/Error.pm index e86b1c41a5c..4c6288a2851 100644 --- a/webtools/bugzilla/Bugzilla/Error.pm +++ b/webtools/bugzilla/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 <