diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-15 03:26:32 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-15 03:26:32 +0000 |
commit | 8dd5871d4fb15a7996388108550839315e96adad (patch) | |
tree | eb71a1301d1073a95b169830781999db225f9b97 /actions/joingroup.php | |
parent | 0bc9b2e730bb6368d36ba5bb3f2df1bf1432adad (diff) | |
parent | f8da15bf41b07a46b1fbe5323e2b8136d42c5b31 (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
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; } |