From 6f22e13ff4da1bd258b841e602f8a94a5cd6bacb Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Mon, 9 Sep 2002 08:10:54 +0000 Subject: Bug 166023 - On failure in template->new, a template is used to display error 2xr = bbaetz --- globals.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 36bdf506c..5931d186d 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. -- cgit v1.2.3-24-g4f1b