]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix error in prepare() for checking group membership
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 06:53:44 +0000 (01:53 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 22 Jan 2009 06:53:44 +0000 (01:53 -0500)
actions/joingroup.php

index 45470f0888be7e7edff2509fc9de9850aec6808e..1888ecdab27389420aa5a3e84b8390cb60687e28 100644 (file)
@@ -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;
         }