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

2xr = bbaetz


git-svn-id: svn://10.0.0.236/trunk@129076 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bugreport%peshkin.net
2002-09-09 01:10:54 +00:00
parent ed512d588c
commit 8a1d8dd39c

View 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.