Re: DB_DataObject joinAdd - joining to a non DB_DataObject table
| From: | Craig Ambrose | Date: | Wed, 23 Feb 2005 23:04:19 +0000 |
| Subject: | Re: DB_DataObject joinAdd - joining to a non DB_DataObject table | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17657@lists.php.net to get a copy of this message | ||
> 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?
regards
Craig
--
Craig Ambrose
Web Elements
http://www.portallus.com/people/craigambrose/