PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject » Bug #647

debug is always called staticlly

Details

Submitted2004-01-31 11:56 UTC
Frommaka3d at yhaoo dot com
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2004-01-31 11:56 UTC] maka3d at yhaoo dot com

Description:
------------
I want be able to write custom debug function by overriding this, but debug is always called staticlly.

I don't know how dangerous could be this, but a patch would be replace all calls for this:

if(isset($this)) $this->debug(....
else DB_DataObject::debug(

this would maintain BC.