PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm » Bug #2929

exportValue() is not constants-safe.

Details

Submitted2004-12-08 22:31 UTC
Fromas dot pear41209 at umich dot edu
StatusWont fix
PackageHTML_QuickForm
PHP Version4.3.6
OSnot relevant
Roadmaps(Not assigned)

Comments

[2004-12-08 22:31 UTC] as dot pear41209 at umich dot edu

Description:
------------
it is claimed that constants are not overriden by user/defaults. However, the primary source of exportValue() function is the submit values.

solution in exportValue(): if a constantValue exists for an element, return it, ignoring the user-submitted value.