]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 166023 - On failure in template->new, a template is used to display error
authorbugreport%peshkin.net <>
Mon, 9 Sep 2002 08:10:54 +0000 (08:10 +0000)
committerbugreport%peshkin.net <>
Mon, 9 Sep 2002 08:10:54 +0000 (08:10 +0000)
2xr = bbaetz

globals.pl

index 36bdf506c80504533f4ec3987d9d0b5a6148851a..5931d186df5da24d420fdffa555074cd4480aa7d 100644 (file)
@@ -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.