diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-02 08:51:10 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-02 08:51:10 -0400 |
commit | 5f9a4ebef493997557ef4470268bed0e5799b6cb (patch) | |
tree | f9a06c1773e511d3273c5d9223d06ca0806d5341 /lib/subgroupnav.php | |
parent | e52997e52fe02960908eb6a9637a3349a2c74dad (diff) | |
parent | d04ab14a5a15f9119bedca1332eb516ecf5ca483 (diff) |
Merge branch '0.8.x' into queuemanager
Diffstat (limited to 'lib/subgroupnav.php')
-rw-r--r-- | lib/subgroupnav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subgroupnav.php b/lib/subgroupnav.php index 4a9b36ae8..520991923 100644 --- a/lib/subgroupnav.php +++ b/lib/subgroupnav.php @@ -100,7 +100,7 @@ class SubGroupNav extends Widget $this->user->nickname), $action == 'usergroups', 'nav_usergroups'); - if (!is_null($cur) && $this->user->id === $cur->id) { + if (common_config('invite', 'enabled') && !is_null($cur) && $this->user->id === $cur->id) { $this->out->menuItem(common_local_url('invite'), _('Invite'), sprintf(_('Invite friends and colleagues to join you on %s'), |