Forumlar / Cotonti / Support / Problems while Parsing to Template

ez
#24525 2010-05-13 05:19
Why use an array for one item.

Just thinking quick here, but loose the , ????
Try this:

$t->assign(array('ACTIVE_ACCOUNTS' => $activeAccounts));
$t->parse('MAIN.BBMCLIENTS');

OR

$t->assign(array(
'ACTIVE_ACCOUNTS' => $activeAccounts,
'DUMMYVAL' => 'x'));

$t->parse('MAIN.BBMCLIENTS');

hope this is it
==- I say: Keep it EZ -==