From 778ddb88bb91e836b1ccf17edc74fabce5d2b8aa Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 30 Apr 2008 16:15:35 +0000 Subject: Slight correction to the count entities from relationship alias in ElggEntity git-svn-id: https://code.elgg.org/elgg/trunk@587 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 087a33e1c..c62eb8ea7 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -271,7 +271,7 @@ * @return int|false The number of entities or false on failure */ function countEntitiesFromRelationship($relationship) { - return get_entities_from_relationship($relationship,$this->getGUID(),false,"","","","time_created desc",$limit,$offset,true); + return get_entities_from_relationship($relationship,$this->getGUID(),false,"","","","time_created desc",null,null,true); } /** -- cgit v1.2.3