summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/joingroup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/joingroup.php b/actions/joingroup.php
index 45470f088..1888ecdab 100644
--- a/actions/joingroup.php
+++ b/actions/joingroup.php
@@ -91,7 +91,7 @@ class JoingroupAction extends Action
$cur = common_current_user();
- if ($cur->isMember($group)) {
+ if ($cur->isMember($this->group)) {
$this->clientError(_('You are already a member of that group'), 403);
return false;
}