From 904d04993c02e8707d8041e8bb0aef6a65a4d71a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 22 Jan 2009 01:53:44 -0500 Subject: [PATCH] Fix error in prepare() for checking group membership --- actions/joingroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }