Re: DB_DataObject joinAdd - joining to a non DB_DataObject table

From: Date: Wed, 23 Feb 2005 23:20:39 +0000
Subject: Re: DB_DataObject joinAdd - joining to a non DB_DataObject table
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17665@lists.php.net to get a copy of this message
On Thu, 24 Feb 2005 10:04:19 +1100, Craig Ambrose <craigambrose@gmail.com> wrote: > > > Well....try changing that if statement to do PEAR::isError on the > > return and see if it works. > > Good point. I forgot I was a programmer for a second there. :) > > Yep, changing line 2670 (in v1.7.2) to: > if (!$obj || PEAR::isError($obj)) { > > Causes everything to work as expected. Is this a fix that could work its way > into the official version? > Absolutely. File it as a bug on the PEAR website. -- Justin Patrin

« previous php.pear.general (#17665) next »