DB_DataObject : prb with joinAdd since upgrade to 1.7.6
| From: | Stephane GULLY | Date: | Sat, 05 Mar 2005 18:49:49 +0000 |
| Subject: | DB_DataObject : prb with joinAdd since upgrade to 1.7.6 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17870@lists.php.net to get a copy of this message | ||
Something is wrong since I've updated my pear lib, I use joinAdd method and I get this notice :
*
Notice*: Undefined property: type in */usr/share/php/DB/DataObject.php* on line *2836*
this line refere to this piece of code :
$database_prefix = in_array($DB->type,array('mysql','mysqli')) ?
$obj->_database . '.' : '';
I think it a change into PEAR::DB (I use laste stable version) which break DB_DataObject::joinAdd fonctuonality. The "type" attribut do not exists anymore in DB package.
I hope this can help.
best regards,
--
Stéphane GULLY - http://www.zeitoun.net/