#40: Smarty modifier syntax
Issue revisions
- new by Jakub Macek at 2009-S-20 21:11
| Type | |
|---|---|
| State | |
| Priority | |
| Resolution | |
| Assigned to | Nobody |
| Scheduled for | |
| Affected versions | |
| Affected components | |
| Last change | Sunday 20 September 2009 21:11:39 UTC by Jakub Macek |
Smarty modifier syntax for multiple parameters doesn't work with variables. In the following case the generated PHP code contains colon in array index.
{"hello "|cat:$abc:"hello":$abc}
yields
... $this->scope["abc:"] ...
Syntax with spaces works.
{"hello "|cat:$abc "hello" $abc}
I'm not sure, if it's really a bug or just undocumented feature (in such case I would suggest a note to the Smarty incompatibility wiki page).