Home » HTML » HTML_Form » Bug #3870
type check in HTML_Form::displaySelect
Details
| Submitted | 2005-03-18 10:38 UTC |
|---|---|
| From | indeyets at gmail dot com |
| Assigned | danielc |
| Status | Bogus |
| Package | HTML_Form |
| PHP Version | 4.3.10 |
| Roadmaps | (Not assigned) |
Comments
[2005-03-18 10:38 UTC] indeyets at gmail dot com
Description:
------------
HTML_Form::displaySelect() method checks for a type of "default value", which makes it really hard to work with numeric values.
it would be more convenient, if the check was always made with strval()'s
like:
strval($a) == strval($b)
while, current situation is more like
$a === $b