PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm » Bug #8372

HTML_QuickForm_radio default value with NULL and 0

Details

Submitted2006-08-07 12:20 UTC
Fromoscar at grecom dot nl
StatusDuplicate
PackageHTML_QuickForm
PHP Version4.4.0
OSLinux
Roadmaps(Not assigned)

Comments

[2006-08-07 12:20 UTC] oscar at grecom dot nl

Description:
------------
In the onQuickFormEvent function is the value check at line 216 incorrect:

if ($value == $this->getValue()) {
[..]
}

This should be:

if ($value === $this->getValue()) {
[..]
}