From: bugreport%peshkin.net <> Date: Mon, 9 Sep 2002 08:10:54 +0000 (+0000) Subject: Bug 166023 - On failure in template->new, a template is used to display error X-Git-Tag: bugzilla-2.17.1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f22e13ff4da1bd258b841e602f8a94a5cd6bacb;p=thirdparty%2Fbugzilla.git Bug 166023 - On failure in template->new, a template is used to display error 2xr = bbaetz --- diff --git a/globals.pl b/globals.pl index 36bdf506c8..5931d186df 100644 --- a/globals.pl +++ b/globals.pl @@ -1467,8 +1467,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.