parser bug?

From: Date: Thu, 04 Sep 2003 05:05:45 +0000
Subject: parser bug?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10168@lists.php.net to get a copy of this message
Due to a cut-and-paste error, I had the following template code (I use double braces): <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 a parser error? It didn't. cheers, Travis -- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>

« previous php.smarty.general (#10168) next »