From: bugreport%peshkin.net <> Date: Wed, 25 Sep 2002 11:03:00 +0000 (+0000) Subject: Bug 166023 - On failure in template->new, a template is used to display error X-Git-Tag: bugzilla-2.16.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=870a311cd490ac95820b602e4807ecc4460e646e;p=thirdparty%2Fbugzilla.git Bug 166023 - On failure in template->new, a template is used to display error r=bbaetz --- diff --git a/globals.pl b/globals.pl index 94939e19d4..405f9d2bfc 100644 --- a/globals.pl +++ b/globals.pl @@ -1593,8 +1593,7 @@ $::template ||= Template->new( url_quote => \&url_quote , } , } -) || DisplayError("Template creation failed: " . Template->error()) - && exit; +) || die("Template creation failed: " . Template->error()); # Use the Toolkit Template's Stash module to add utility pseudo-methods # to template variables.