Bug Smarty-2.5.0RC2?
| From: | Alberto Benati | Date: | Fri, 04 Apr 2003 08:23:17 +0000 |
| Subject: | Bug Smarty-2.5.0RC2? | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1075@lists.php.net to get a copy of this message | ||
I have a problem with Smarty-2.5.0RC2.
$tpl = array('text1', text2', text3');
$smarty->assign('tpl', $tpl);
index.tpl:
{$tpl[1]}
{include file="$db:$tpl[1]"}
Output:
text1
ERROR retreive template: Array[1]!
In Smarty-2.4.2 work well
Best regards