Bug report: Smarty.const._SOME_CONST still broken in IF statement?
| From: | Ruslan Savchyshyn | Date: | Sat, 15 Feb 2003 16:08:13 +0000 |
| Subject: | Bug report: Smarty.const._SOME_CONST still broken in IF statement? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7781@lists.php.net to get a copy of this message | ||
Hello
Using smarty 2.4.1 (with const patched manually) or latest 2.4.2.
{if $counter mod $smarty.const._CARS_PER_PAGE == 0}text{/if}
Doesn't work.
{assign var=per_line value=$smarty.const._CARS_PER_PAGE}
{if $counter mod $per_line == 0}text{/if}
Works great, but is workaround.
------------------------
Ruslan aka SavaJr