summaryrefslogtreecommitdiff
path: root/lib/subgroupnav.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-02 08:51:10 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-02 08:51:10 -0400
commit5f9a4ebef493997557ef4470268bed0e5799b6cb (patch)
treef9a06c1773e511d3273c5d9223d06ca0806d5341 /lib/subgroupnav.php
parente52997e52fe02960908eb6a9637a3349a2c74dad (diff)
parentd04ab14a5a15f9119bedca1332eb516ecf5ca483 (diff)
Merge branch '0.8.x' into queuemanager
Diffstat (limited to 'lib/subgroupnav.php')
-rw-r--r--lib/subgroupnav.php2
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'),