Arithmetic operations failed in never Smarty version :(
| From: | Yar3k | Date: | Wed, 05 Feb 2003 11:26:08 +0000 |
| Subject: | Arithmetic operations failed in never Smarty version :( | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7521@lists.php.net to get a copy of this message | ||
I've downloaded the last (cvs) version of Smarty and I found my old
templates stopped to work :( In past, I could use the following syntax
in templates:
{if $myVar1 - $maVar2 gt 0}...{/if}
Now, I coud not because Smarty raises the error:
"syntax error: invalid attribute name - '-'
(Smarty_Compiler.class.php, line 1312) in"
How to solve it?
--
Yar3k