Re: [SMARTY] parser bug?
| From: | messju mohr | Date: | Wed, 10 Sep 2003 09:06:20 +0000 |
| Subject: | Re: [SMARTY] parser bug? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10186@lists.php.net to get a copy of this message | ||
On Tue, Sep 09, 2003 at 03:01:17AM -0400, Travis Low wrote:
> Due to a cut-and-paste error, I had the following template code (I use
> double braces). I have emphasized the error with "^^", below.
>
> <td class="{{$rowstyle}}" align="center">
> {{if "Y" == {{$kids[kid].publish}}
>
> ------------^^
>
> Y
> {{/if}}
> </td>
>
> which I later corrected to:
>
> <td class="{{$rowstyle}}" align="center">
> {{if "Y" == $kids[kid].publish}}
> Y
> {{/if}}
> </td>
>
> Shouldn't the first one generate an error of some kind? It didn't.
yes, maybe it should.
> cheers,
>
> Travis
>
> --
> Travis Low
> <mailto:travis@dawnstar.com>
> <http://www.dawnstar.com>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php