From: cash Date: Thu, 9 Dec 2010 18:14:56 +0000 (+0000) Subject: Fixes #2721 fixed typo - thanks for the report! X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ec50bfab16789557d7a94e54854bd4b62480fbbf;p=lorea%2Felgg.git Fixes #2721 fixed typo - thanks for the report! git-svn-id: http://code.elgg.org/elgg/trunk@7582 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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,