From: Evan Prodromou Date: Sun, 8 Mar 2009 01:47:43 +0000 (-0800) Subject: trying to kill the can't-leave-a-group bug X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f66775658c0f231c8bcf9ea310fc8ac0dbf19bfd;p=quix0rs-gnu-social.git trying to kill the can't-leave-a-group bug --- 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();