Re: [SMARTY-DEV] html_options

From: Date: Mon, 26 Feb 2007 16:03:28 +0000
Subject: Re: [SMARTY-DEV] html_options
References: 1 2 3 4 5 6 7 8 9  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2980@lists.php.net to get a copy of this message
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/ marcus@synchromedia.co.uk | http://www.synchromedia.co.uk/ --Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.smarty.dev (#2980) next »