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
1 changed files with 1 additions and 1 deletions

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