FIX : Better FetchAll method

This commit is contained in:
Florian HENRY 2015-07-29 11:52:23 +02:00
parent 73192b78e9
commit e291ca2e23

View File

@ -226,7 +226,7 @@ class Skeleton_Class extends CommonObject
* *
* @return int <0 if KO, >0 if OK * @return int <0 if KO, >0 if OK
*/ */
public function fetchAll($sortorder, $sortfield, $limit, $offset, array $filter = array(), $filtermode='AND') public function fetchAll($sortorder='', $sortfield='', $limit=0, $offset=0, array $filter = array(), $filtermode='AND')
{ {
dol_syslog(__METHOD__, LOG_DEBUG); dol_syslog(__METHOD__, LOG_DEBUG);