diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-14 15:47:39 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-14 15:47:39 -0700 |
commit | 1c87532912b63effc047da2913e55a6551d8f629 (patch) | |
tree | caafcfed82f352f28c237e98e4c55c07628e1c2a /lib/grouplist.php | |
parent | d3a0c524cce9be65b8e45280168cf3584a60f81c (diff) |
The rest of the things necessary to make group block work
Link to the group block form. Hide join button if the current user is
blocked.
Diffstat (limited to 'lib/grouplist.php')
-rw-r--r-- | lib/grouplist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/grouplist.php b/lib/grouplist.php index 1b8547499..1ded5160b 100644 --- a/lib/grouplist.php +++ b/lib/grouplist.php @@ -166,7 +166,7 @@ class GroupList extends Widget if ($user->isMember($this->group)) { $lf = new LeaveForm($this->out, $this->group); $lf->show(); - } else { + } else if (!Group_block::isBlocked($this->group, $user->getProfile())) { $jf = new JoinForm($this->out, $this->group); $jf->show(); } |