From 496007d2ae949b905cd1c8d874a0ce90ce54e181 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 26 Nov 2008 21:15:37 +0000 Subject: NULL -> null --- core/libraries/ORM_MPTT.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/libraries/ORM_MPTT.php') 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); -- cgit v1.2.3