Home » Database » DB_DataObject_FormBuilder » Bug #458
metod preProcess() not work
Details
| Submitted | 2003-12-19 15:28 UTC |
|---|---|
| From | xserg at xserg dot ru |
| Assigned | mw21st |
| Status | Closed |
| Package | DB_DataObject_FormBuilder |
| PHP Version | 4.3.4 |
| OS | FreeBSD 5.0 |
| Roadmaps | (Not assigned) |
Comments
[2003-12-19 15:28 UTC] xserg at xserg dot ru
Description:
------------
Your have an error in function processForm($values) in Formbuilder.php
Because of the wrong parametrs order in if (method_exists('preprocess', $this->_do)) call, it is reversed
Reproduce code:
---------------
function processForm($values)
{
$this->debug("<br>...processing form data...<br>");
print_r($this->_do);
if (method_exists('preprocess', $this->_do)) {
$this->_do->preProcess($values);
}
[2003-12-21 17:15 UTC] mw21st at php dot net
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.
Thanks for your bug report, but this was already fixed in the CVS version.