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 /actions/showgroup.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 'actions/showgroup.php')
-rw-r--r-- | actions/showgroup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php index 3ce45adc6..537f09278 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -283,7 +283,7 @@ class ShowgroupAction extends Action if ($cur->isMember($this->group)) { $lf = new LeaveForm($this, $this->group); $lf->show(); - } else { + } else if (!Group_block::isBlocked($this->group, $cur->getProfile())) { $jf = new JoinForm($this, $this->group); $jf->show(); } |