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 » Database » DB_DataObject_FormBuilder » Bug #3163

returned values from _getMyValues() still contain unfiltered values

Details

Submitted2005-01-11 14:43 UTC
Fromate2 at cornell dot edu
Assignedjustinpatrin
StatusClosed
PackageDB_DataObject_FormBuilder
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-01-11 14:43 UTC] ate2 at cornell dot edu

Description:
------------
The $retArr in get my values which is supposed to be populated only with values that match the specified prefix and suffix should initially be an empty array. In the current release it is copied from the unfiltered values which means that it carries all the unfiltered values as well as the filtered ones.

Reproduce code:
---------------
function _getMyValues(&$arr) {
//$arr = $this->_multiArrayToSingleArray($arr);
// $retArr = $arr; // In current release
$retArr = array(); // What it should be
...
}

[2005-01-11 15:12 UTC] ate2 at cornell dot edu

Title of bug was misleading... the problem with form value substitution.