diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-26 21:15:37 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-26 21:15:37 +0000 |
commit | 496007d2ae949b905cd1c8d874a0ce90ce54e181 (patch) | |
tree | 0796cd4e7b6b7f5c70cd22c0129c02d8b1991706 /core | |
parent | 9f37aaa1c29b9b17bee514597ec316130d7531c7 (diff) |
NULL -> null
Diffstat (limited to 'core')
-rw-r--r-- | core/libraries/ORM_MPTT.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/libraries/ORM_MPTT.php b/core/libraries/ORM_MPTT.php index 88e79194..d7e8d7b7 100644 --- a/core/libraries/ORM_MPTT.php +++ b/core/libraries/ORM_MPTT.php @@ -110,7 +110,7 @@ class ORM_MPTT_Core extends ORM { * @param integer SQL offset * @return array ORM */ - function children($limit=NULL, $offset=0) { + function children($limit=null, $offset=0) { if (!isset($this->children)) { $this->children = $this->where("parent_id", $this->id) @@ -143,7 +143,7 @@ class ORM_MPTT_Core extends ORM { * @param string type to return * @return object ORM_Iterator */ - function descendants($limit=NULL, $offset=0, $type=null) { + function descendants($limit=null, $offset=0, $type=null) { if (!isset($this->descendants[$type][$offset])) { $this->where("left >", $this->left) ->where("right <=", $this->right); |