DB_DataObject: $_query property not properly restored in DB_DataObject::fetch() ?

From: Date: Tue, 06 May 2008 12:18:33 +0000
Subject: DB_DataObject: $_query property not properly restored in DB_DataObject::fetch() ?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50024@lists.php.net to get a copy of this message
Dear DB_DataObject developers, Using the latest stable version 1.8.8 we're experiencing the following: In fetch(), is there a reason why the $_query property is not restored to its initial value after the last row has been fetched in DB_DataObject::fetch() on line 550? The property is set to false [line 575] to indicate there is more data to fetch, but after the last row has been fetched there is no reason to keep the DataObject from being reused as far as we can see. The process of backing up $_query and restoring it is applied successfully in the find() method (see line 410 and 468). thanks, - Markus

« previous php.pear.dev (#50024) next »