Odd behaviour using 2.4.2
| From: | Garland Foster | Date: | Sat, 22 Feb 2003 17:05:29 +0000 |
| Subject: | Odd behaviour using 2.4.2 | ||
| Groups: | php.smarty.dev php.smarty.general | ||
| Request: | Send a blank email to php-smarty-dev+get-820@lists.php.net to get a copy of this message | ||
Hi all,
I upgraded some apps to Smarty 2.4.2
I'm getting errors in compiled templates in templates that worked with 2.3.x
Examples:
{if $foo > 0.01}
is getting compiled as
<?php if ($this->_tpl_vars['comments_threshold'] > 0 .01): ?>
Note: there's a white space between the 0 and .01 making PHP throw an error.
I also have errors with
{if $foo <> 4}
that is getting compiled with a whitespace between the '<' and '>'
breaking PHP too.
what's happening?