From ec50bfab16789557d7a94e54854bd4b62480fbbf Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 9 Dec 2010 18:14:56 +0000 Subject: Fixes #2721 fixed typo - thanks for the report! git-svn-id: http://code.elgg.org/elgg/trunk@7582 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggSite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/classes/ElggSite.php') diff --git a/engine/classes/ElggSite.php b/engine/classes/ElggSite.php index 68a720bfe..6ab6a9aef 100644 --- a/engine/classes/ElggSite.php +++ b/engine/classes/ElggSite.php @@ -209,8 +209,8 @@ class ElggSite extends ElggEntity { * @return array of ElggUsers */ public function getMembers($options = array(), $offset = 0) { - if (!is_array($limit)) { - elgg_deprecated_notice("ElggSite::getMembers has a different arguments!", 1.8); + if (!is_array($options)) { + elgg_deprecated_notice("ElggSite::getMembers uses different arguments!", 1.8); $options = array( 'limit' => $options, 'offset' => $offset, -- cgit v1.2.3