mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
ORM::find_all() now uses null as the default value for offset.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user