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_FormBuilder » Bug #746

FORCEINSERT debug message uses undefined variable

Details

Submitted2004-02-12 23:45 UTC
Fromhlarue at siegewerks dot com
Assignedmw21st
StatusClosed
PackageDB_DataObject_FormBuilder
PHP Version4.3.3
OSLinux
Roadmaps(Not assigned)

Comments

[2004-02-12 23:45 UTC] hlarue at siegewerks dot com

Description:
------------
The debug message, reporting the new ID of a FORCEINSERT action uses the, yet undefined, $pk value.

$id = $this->_do->insert();
$this->debug("ID ($pk) of the new object: $id\n");
break;

[2004-03-14 18:09 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.