Re: html_options

till <[email protected]> Mon, 26 Feb 2007 11:37:35 +0100
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
Hi,

On 2/24/07, Danilo Buerger <[email protected]> wrote:
> $smarty->assign('myOptions', array(true => 'test', false => 'foo'));
> $smarty->assign('mySelect', false);
> $smarty->display('test.tpl');

As messju noted, PHP is not "so" type safe.
But try to cast your true/false as string and see if that works.

Cheers,
Till

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php