From: Evan Prodromou Date: Thu, 22 Jan 2009 06:53:44 +0000 (-0500) Subject: Fix error in prepare() for checking group membership X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=904d04993c02e8707d8041e8bb0aef6a65a4d71a;p=quix0rs-gnu-social.git Fix error in prepare() for checking group membership --- diff --git a/actions/joingroup.php b/actions/joingroup.php index 45470f0888..1888ecdab2 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; }