Re: html_options
Danilo Buerger <[email protected]> Mon, 26 Feb 2007 17:03:28 +0100
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
Sure, my example wasnt the best in means of coding practices but i hope it gets the point across. Marcus Bointon schrieb: > On 26 Feb 2007, at 15:38, Monte Ohrt wrote: > >> Regardless of what the best behavior is, IMHO, if someone is using >> boolean "false" to try to select the "0" option from this list, they >> need to fix their code. > > I agree, especially since false == '' == 0, it's just asking for confusion. > > Marcus > --Marcus Bointon > Synchromedia Limited: Creators of http://www.smartmessages.net/ > [email protected] | http://www.synchromedia.co.uk/ > > --Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php