X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshowgroup.php;h=b6022840bf47997f89cda54970e56b9779d123b6;hb=5caeeabfc266985c8ac2cc19a2143092f9e1b5fd;hp=c20941a35ee07776acb475fd69152e4b139b79b4;hpb=012288bdf6f4ad41c861504c05b2ac1cee834dd3;p=quix0rs-gnu-social.git diff --git a/actions/showgroup.php b/actions/showgroup.php index c20941a35e..b6022840bf 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -275,10 +275,8 @@ class ShowgroupAction extends Action $cur = common_current_user(); if ($cur) { if ($cur->isMember($this->group)) { - if (!$cur->isAdmin($this->group)) { - $lf = new LeaveForm($this, $this->group); - $lf->show(); - } + $lf = new LeaveForm($this, $this->group); + $lf->show(); } else { $jf = new JoinForm($this, $this->group); $jf->show();