]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 282074: Software error instead of Bugzilla's "Internal Error" Message
authormkanat%kerio.com <>
Fri, 25 Feb 2005 11:02:50 +0000 (11:02 +0000)
committermkanat%kerio.com <>
Fri, 25 Feb 2005 11:02:50 +0000 (11:02 +0000)
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=joel, a=myk

Bugzilla/Error.pm

index e86b1c41a5c3b8ce3e75cd760c228591ad66032a..4c6288a2851e86a23b0f55fbab54d7b911ca9030 100644 (file)
@@ -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>