aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggSite.php4
1 files changed, 2 insertions, 2 deletions
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,