{section}{include file=...}{/section} - Bug
| From: | hiweb) | Date: | Fri, 25 May 2001 13:55:57 +0000 |
| Subject: | {section}{include file=...}{/section} - Bug | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-815@lists.php.net to get a copy of this message | ||
Hello All,
is there a solution for this "{section}{include file=...}{/section}" - Bug found on the
list ???
-Ingo Baab
Quote:
FYI, a bug (introduced in 1.4.0) was found, and we're working on a fix.
This simple test shows the problem:
$smarty->assign("nums",array(1,2,3,4,5));
--- index.tpl ---
{section name=test loop=$nums}
{include file="header.tpl"}
{/section}
--- header.tpl ---
{$nums[test]}
you should see 1 2 3 4 5, but nothing prints.
Monte