cycle? is it a bug.....
| From: | pete M | Date: | Sat, 30 Apr 2005 16:31:52 +0000 |
| Subject: | cycle? is it a bug..... | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-2714@lists.php.net to get a copy of this message | ||
smarty configuration has this line
$smarty->config_overwrite = false;
from the config file
cols = #ffffff
cols = #ff00ff
cols = #000000
in the template
{cycle values=#cols# name="foo"}
returns
#ffffff #ff00ff #000000 #ffffff #ff00ff #000000 #ffffff #ff00ff
For some reason it doenst work when the name value is missing so
{cycle values=#cols#}
returns
#ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff
is this a bug ?
Pete