Re: DataObject bug?

From: Date: Fri, 30 May 2003 01:01:02 +0000
Subject: Re: DataObject bug?
References: 1  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-5695@lists.php.net to get a copy of this message
can you file that as a bug - It is one :) Mike Carter wrote:
Hi, I think I found a potential little SQL building slip up. Although it can be thought of as the programmers fault I found the following. If I try to do a $dobj->whereAdd($keywords); and $keywords is empty/null then surely DataObjects would be best off just ignoring the request and disgarding it? Instead it adds an additional AND into the query string anyway. Not a critical bug :) Regards,


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