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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user