From: cash Date: Sun, 1 Jan 2012 01:21:37 +0000 (-0500) Subject: Fixes #4204 using only the relationship for getting members of a site X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7916edda4afa2c75654a120a40f2e04c46079b57;p=lorea%2Felgg.git Fixes #4204 using only the relationship for getting members of a site --- diff --git a/engine/classes/ElggSite.php b/engine/classes/ElggSite.php index 686046512..7ea52a195 100644 --- a/engine/classes/ElggSite.php +++ b/engine/classes/ElggSite.php @@ -235,6 +235,7 @@ class ElggSite extends ElggEntity { } $defaults = array( + 'site_guids' => ELGG_ENTITIES_ANY_VALUE, 'relationship' => 'member_of_site', 'relationship_guid' => $this->getGUID(), 'inverse_relationship' => TRUE, @@ -258,6 +259,7 @@ class ElggSite extends ElggEntity { */ public function listMembers($options = array()) { $defaults = array( + 'site_guids' => ELGG_ENTITIES_ANY_VALUE, 'relationship' => 'member_of_site', 'relationship_guid' => $this->getGUID(), 'inverse_relationship' => TRUE,