Home » Database » DB_DataObject » Bug #647
debug is always called staticlly
Details
| Submitted | 2004-01-31 11:56 UTC |
|---|---|
| From | maka3d at yhaoo dot com |
| Assigned | alan_k |
| Status | Closed |
| Package | DB_DataObject |
| PHP Version | Irrelevant |
| OS | irrelevant |
| 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.