summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-09-09 10:10:54 +0200
committerbugreport%peshkin.net <>2002-09-09 10:10:54 +0200
commit6f22e13ff4da1bd258b841e602f8a94a5cd6bacb (patch)
tree6972c56e69198daa940946f83213f1637ef38a4a
parentc72bfb0d5831e5203b5ad7bddfed54390811429f (diff)
downloadbugzilla-6f22e13ff4da1bd258b841e602f8a94a5cd6bacb.tar.gz
bugzilla-6f22e13ff4da1bd258b841e602f8a94a5cd6bacb.tar.xz
Bug 166023 - On failure in template->new, a template is used to display error
2xr = bbaetz
-rw-r--r--globals.pl3
1 files changed, 1 insertions, 2 deletions
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.