New version of SMARTY giving me error - what do i need to change here?
| From: | Alistair Burns | Date: | Fri, 28 Feb 2003 10:50:25 +0000 |
| Subject: | New version of SMARTY giving me error - what do i need to change here? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8291@lists.php.net to get a copy of this message | ||
Before I upgraded SMARTY, this worked fine:
{foreach from=$CutoffOrders->Orders item=order}
{$order->user.name}
{$order->user.email}
{$order->order_id}
...
{/foreach}
$CutoffOrders->Orders is an array of objects
and $order->user is an assoc. array of user details
This all worked fine but now because of update I get this error:
Fatal error: Smarty: [in <snip> line 6]: syntax error: unrecognized tag:
$order->user.name (Smarty_Compiler.class.php, line 381)
How should I index the data in the user array within the object?
Any help would be greatly appreciated.
Ally