PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #2318

update($obj) with no changes returns False

Details

Submitted2004-09-13 08:44 UTC
Fromjeroenl at zwolnet dot com
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version4.3.8
Roadmaps(Not assigned)

Comments

[2004-09-13 08:44 UTC] jeroenl at zwolnet dot com

Description:
------------
An update with a specified object returns false iso. true if there are no changes.

Am I missing someting or should the code in update() be:

// if you manually specified a dataobject, and there where no changes - then it's ok..
if ($dataObject !== false) {
return true;
}

i.s.o.
// if you manually specified a dataobject, and there where no changes - then it's ok..
if ($dataObject !== false) {
return false;
}