ORM::find_all() now uses null as the default value for offset.

This commit is contained in:
Bharat Mediratta
2009-11-26 19:36:57 -08:00
parent e8fb773b68
commit a3d904bcba
3 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ class ORM_MPTT_Core extends ORM {
* @param array order_by
* @return array ORM
*/
function children($limit=null, $offset=0, $where=null, $order_by=array("id" => "ASC")) {
function children($limit=null, $offset=null, $where=null, $order_by=array("id" => "ASC")) {
if ($where) {
$this->merge_where($where);
}