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 #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.