From: mkanat%kerio.com <> Date: Fri, 25 Feb 2005 11:02:50 +0000 (+0000) Subject: Bug 282074: Software error instead of Bugzilla's "Internal Error" Message X-Git-Tag: bugzilla-2.19.3~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd2fa9ea77fb4097565ffbe1f6425598c6f8f31e;p=thirdparty%2Fbugzilla.git Bug 282074: Software error instead of Bugzilla's "Internal Error" Message Patch By Max Kanat-Alexander r=joel, a=myk --- diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index e86b1c41a5..4c6288a285 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 <