Re: DB_DataObject : prb with joinAdd since upgrade to 1.7.6
| From: | Alan | Date: | Mon, 07 Mar 2005 05:05:03 +0000 |
| Subject: | Re: DB_DataObject : prb with joinAdd since upgrade to 1.7.6 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17897@lists.php.net to get a copy of this message | ||
well spotted - fixed and re-released
Regards
Alan
On Sat, 2005-03-05 at 19:49 +0100, Stephane GULLY wrote:
> 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,
>