Re: [SMARTY] Possible bug?
| From: | gawan | Date: | Thu, 13 Feb 2003 09:54:14 +0000 |
| Subject: | Re: [SMARTY] Possible bug? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7715@lists.php.net to get a copy of this message | ||
Yes, thank you.
Amazing that it worked in the older version?!
"M Mohr" <messju@lammfellpuschen.de> wrote in message
news:20030213082935.GF27229@pharao.lammfellpuschen.de...
> On Thu, Feb 13, 2003 at 02:50:20AM +0200, gawan wrote:
> > 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?
>
> i can see one :) {$product->TitleOfSeries"}, which shoud read
> {$product->TitleOfSeries}
>
> HTH
> messju
>