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

2xr = bbaetz
This commit is contained in:
bugreport%peshkin.net 2002-09-09 01:10:54 +00:00
parent a6ee0c8777
commit e1210f4984

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.