summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-03-08 09:25:23 +0000
committerCiaranG <ciaran@ciarang.com>2009-03-08 09:25:23 +0000
commita5b9f59cb235a05eaf74465d421508b4b8471488 (patch)
treeab1fcd6c19fe1eef6f30fae8dc8524fee2cf3dd7 /lib
parent61940e37ff89710628eff1a4ad6db8df16142cec (diff)
parentf66775658c0f231c8bcf9ea310fc8ac0dbf19bfd (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'lib')
-rw-r--r--lib/grouplist.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/grouplist.php b/lib/grouplist.php
index 8e2637fec..1b8547499 100644
--- a/lib/grouplist.php
+++ b/lib/grouplist.php
@@ -164,10 +164,8 @@ class GroupList extends Widget
# XXX: special-case for user looking at own
# subscriptions page
if ($user->isMember($this->group)) {
- if (!$user->isAdmin($this->group)) {
- $lf = new LeaveForm($this->out, $this->group);
- $lf->show();
- }
+ $lf = new LeaveForm($this->out, $this->group);
+ $lf->show();
} else {
$jf = new JoinForm($this->out, $this->group);
$jf->show();