summaryrefslogtreecommitdiff
path: root/actions/joingroup.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-22 01:53:44 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-22 01:53:44 -0500
commit904d04993c02e8707d8041e8bb0aef6a65a4d71a (patch)
treea0cba9fd8778242d70f31bc25a731917bdfea3e4 /actions/joingroup.php
parent2f043b74e72d59d1c624629f389b72d1215af632 (diff)
Fix error in prepare() for checking group membership
Diffstat (limited to 'actions/joingroup.php')
-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;
}