Changeset 1059
- Timestamp:
- 08/25/08 22:22:36 (5 months ago)
- Files:
-
- trunk/lib/jelix/CREDITS (modified) (1 diff)
- trunk/lib/jelix/dao/jDaoFactoryBase.class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/CREDITS
r1058 r1059 122 122 - bug fix in jXmlRpc.class.php (#192) 123 123 124 Greut 125 - bug fix in jDaoFactoryBase::findBy : it should not ignore limit=0 (#665) 126 124 127 Frédéric Guillot (aka fg) 125 128 - patch for multiple authentification in a same session (#207) trunk/lib/jelix/dao/jDaoFactoryBase.class.php
r1026 r1059 6 6 * @contributor Loic Mathaud 7 7 * @contributor Julien Issler 8 * @contributor Thomas, Greut 8 9 * @copyright 2005-2007 Laurent Jouanneau 9 10 * @copyright 2007 Loic Mathaud 10 11 * @copyright 2007-2008 Julien Issler 11 * @copyright 2008 Thomas 12 * @copyright 2008 Thomas, 2008 Greut 12 13 * @link http://www.jelix.org 13 14 * @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file … … 238 239 * @return jDbResultSet 239 240 */ 240 final public function findBy ($searchcond, $limitOffset=0, $limitCount= 0){241 final public function findBy ($searchcond, $limitOffset=0, $limitCount=null){ 241 242 $query = $this->_selectClause.$this->_fromClause.$this->_whereClause; 242 243 if ($searchcond->hasConditions ()){ … … 247 248 $query.= $this->_createOrderClause($searchcond); 248 249 249 if($limitCount != 0){250 if($limitCount !== null){ 250 251 $rs = $this->_conn->limitQuery ($query, $limitOffset, $limitCount); 251 252 }else{
