From 79d59633b62577ae6d1d889bae14180be4e95727 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 30 Apr 2008 15:51:47 +0000 Subject: Fixing some functions relating to relationships git-svn-id: https://code.elgg.org/elgg/trunk@584 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/entities.php') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 0fcca87f5..087a33e1c 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -261,7 +261,7 @@ * @return array|false An array of entities or false on failure */ function getEntitiesFromRelationship($relationship, $limit = 50, $offset = 0) { - return get_entities_from_relationship($relationship,$this->getGUID(),false,"","",9,"time_created desc",$limit,$offset); + return get_entities_from_relationship($relationship,$this->getGUID(),false,"","","","time_created desc",$limit,$offset); } /** @@ -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,"","",9,"time_created desc",$limit,$offset,true); + return get_entities_from_relationship($relationship,$this->getGUID(),false,"","","","time_created desc",$limit,$offset,true); } /** -- cgit v1.2.3