has moved to IP address -- please double check where you are logging in.

Commit 904d0499 authored by Evan Prodromou's avatar Evan Prodromou

Fix error in prepare() for checking group membership

parent 2f043b74
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment