RE: [SMARTY-DEV] Odd behaviour using 2.4.2

From: Date: Sat, 22 Feb 2003 20:43:32 +0000
Subject: RE: [SMARTY-DEV] Odd behaviour using 2.4.2
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-828@lists.php.net to get a copy of this message
Nope. Forgot to mention the patch *is* for the current cvs. Cheers, .SMK. -----Original Message----- From: Monte Ohrt [mailto:monte@ispi.net] Sent: Saturday, February 22, 2003 9:30 PM To: Garland Foster Cc: Smarty Dev; Smarty General Subject: Re: [SMARTY-DEV] Odd behaviour using 2.4.2 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> -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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