will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at

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