Possible bug?
| From: | gawan | Date: | Thu, 13 Feb 2003 00:50:20 +0000 |
| Subject: | Possible bug? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7705@lists.php.net to get a copy of this message | ||
A Bug?
I have these simple lines, that both worked fine in 2.3.1:
{if $product->NumberOfPages}<font color="#666666"><b>Pages:
</b></font>{$product->NumberOfPages}<br>{/if}
{if $product->TitleOfSeries}<font color="#666666"><b>Series:
</b></font><a
href="search.php?TitleOfSeries={$product->TitleOfSeries}">{$product->TitleOf
Series"}</a><br>{/if}
When upgrading to 2.4.2 the latter IF line gives an error:
Fatal error: Smarty: [in product.tpl line 66]: syntax error: unrecognized
tag: $product->TitleOfSeries" (Smarty_Compiler.class.php, line 381)
I can't see any syntax error?