]> 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 <>
Wed, 25 Sep 2002 11:03:00 +0000 (11:03 +0000)
committerbugreport%peshkin.net <>
Wed, 25 Sep 2002 11:03:00 +0000 (11:03 +0000)
r=bbaetz

globals.pl

index 94939e19d4022e5ebe0b0cd6c1991d4ab4c4f9e2..405f9d2bfc8429977fd5e1f26ddd743de96dfe67 100644 (file)
@@ -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.