Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.2

Bug #3163 returned values from _getMyValues() still contain unfiltered values
Submitted: 2005-01-11 09:43 UTC Modified: 2006-12-16 02:24 UTC
From: ate2 at cornell dot edu Assigned: justinpatrin
Status: Closed Package: DB_DataObject_FormBuilder
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-11 09: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 ... }

Comments

 [2005-01-11 10:12 UTC] ate2 at cornell dot edu
Title of bug was misleading... the problem with form value substitution.
 [2005-01-11 21:25 UTC] justinpatrin
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.