Home » Database » DB_DataObject_FormBuilder » Bug #3163
returned values from _getMyValues() still contain unfiltered values
Details
| Submitted | 2005-01-11 14:43 UTC |
|---|---|
| From | ate2 at cornell dot edu |
| Assigned | justinpatrin |
| Status | Closed |
| Package | DB_DataObject_FormBuilder |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| 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.