Re: [SMARTY-DEV] Odd behaviour using 2.4.2

From: Date: Sat, 22 Feb 2003 20:30:16 +0000
Subject: Re: [SMARTY-DEV] Odd behaviour using 2.4.2
References: 1  Groups: php.smarty.dev php.smarty.general 
Request: Send a blank email to php-smarty-dev+get-827@lists.php.net to get a copy of this message
I think this is already fixed, try the CVS version. On Sat, 2003-02-22 at 11:05, Garland Foster wrote: > 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? -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.dev (#827) next »