DataObject::find bug?
| From: | Fred Neumann | Date: | Mon, 16 Jun 2003 12:27:45 +0000 |
| Subject: | DataObject::find bug? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5996@lists.php.net to get a copy of this message | ||
Hi,
trying to use DataObjects I got a problem with the find() method which caused php to stop executing the script.
Got it fixed by replacing the line 320 in DataObject.php
$this->_build_condition($this->_get_table());
with the following:
keys = $this->_get_table();
$this->_build_condition($keys);
Don't know whether this problem is specific to my configuration:
PHP 4.3.2 compiled into Apache 1.3.27
Zend Optimizer v2.1.0
DataObjects 0.19
Ciao,
Fred