From bd2fa9ea77fb4097565ffbe1f6425598c6f8f31e Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Fri, 25 Feb 2005 11:02:50 +0000 Subject: Bug 282074: Software error instead of Bugzilla's "Internal Error" Message Patch By Max Kanat-Alexander r=joel, a=myk --- Bugzilla/Error.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Error.pm') 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 <

-- cgit v1.2.3-24-g4f1b