diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-06-24 01:09:31 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-06-24 01:09:31 +0800 |
commit | 97373d845cd68d6145f3751c9f602b13f04b37df (patch) | |
tree | 8c8ddfb7735deeaf9ef8b2438430c1ddff7ceb78 /actions/joingroup.php | |
parent | 6d308f6ffe3f894c60fafaea3ceaef86d30dfe1d (diff) | |
parent | eb40fbc17ad1efb0a4c51ee00b1e9408d2af382f (diff) |
Merge branch '0.8.x' into invite-enabled
Diffstat (limited to 'actions/joingroup.php')
-rw-r--r-- | actions/joingroup.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/joingroup.php b/actions/joingroup.php index a5d82ddc7..0e4f96eaf 100644 --- a/actions/joingroup.php +++ b/actions/joingroup.php @@ -96,6 +96,11 @@ class JoingroupAction extends Action return false; } + if (Group_block::isBlocked($this->group, $cur->getProfile())) { + $this->clientError(_('You have been blocked from that group by the admin.'), 403); + return false; + } + return true; } |