add "null" as a valid token for {if} when security is enabled

This commit is contained in:
messju
2005-02-26 21:18:48 +00:00
parent 742ae7fdf3
commit b5747d2b18
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -1,3 +1,4 @@
- add "null" as a valid token for {if} when security is enabled (messju)
- add javascript_charcode encoding option to mailto function - add javascript_charcode encoding option to mailto function
(monte) (monte)
- add ids to html_radios labels (monte, menulis) - add ids to html_radios labels (monte, menulis)

View File

@@ -232,7 +232,7 @@ class Smarty
'isset', 'empty', 'isset', 'empty',
'count', 'sizeof', 'count', 'sizeof',
'in_array', 'is_array', 'in_array', 'is_array',
'true','false'), 'true', 'false', 'null'),
'INCLUDE_ANY' => false, 'INCLUDE_ANY' => false,
'PHP_TAGS' => false, 'PHP_TAGS' => false,
'MODIFIER_FUNCS' => array('count'), 'MODIFIER_FUNCS' => array('count'),