Fix error in prepare() for checking group membership

This commit is contained in:
Evan Prodromou 2009-01-22 01:53:44 -05:00
parent 2f043b74e7
commit 904d04993c

View 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;
}