Commit 6f22e13f authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 166023 - On failure in template->new, a template is used to display error

2xr = bbaetz
parent c72bfb0d
...@@ -1467,8 +1467,7 @@ $::template ||= Template->new( ...@@ -1467,8 +1467,7 @@ $::template ||= Template->new(
url_quote => \&url_quote , url_quote => \&url_quote ,
} , } ,
} }
) || DisplayError("Template creation failed: " . Template->error()) ) || die("Template creation failed: " . Template->error());
&& exit;
# Use the Toolkit Template's Stash module to add utility pseudo-methods # Use the Toolkit Template's Stash module to add utility pseudo-methods
# to template variables. # to template variables.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment