diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-19 21:50:26 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-19 21:50:26 -0700 |
commit | 81f3a5cf940d8ac4904a8f1e404259cc45106ffc (patch) | |
tree | 8d5e83b291568f0ca190d2f726812cae03eeddfc /include/conversation.php | |
parent | b926a4c67e4d7dcba01df91dddcc047abde246bb (diff) | |
download | volse-hubzilla-81f3a5cf940d8ac4904a8f1e404259cc45106ffc.tar.gz volse-hubzilla-81f3a5cf940d8ac4904a8f1e404259cc45106ffc.tar.bz2 volse-hubzilla-81f3a5cf940d8ac4904a8f1e404259cc45106ffc.zip |
discover tab showing on network page using fresh site with no settings (it is disabled by default, but the admin setting has not yet been committed to disk).
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index bc8f8ce8b..43533e3c1 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1536,7 +1536,11 @@ function network_tabs() { // tabs $tabs = array(); - if(! get_config('system','disable_discover_tab')) { + $d = get_config('system','disable_discover_tab'); + if($d === false) + $d = 1; + + if(! $d) { $tabs[] = array( 'label' => t('Discover'), 'url' => z_root() . '/' . $cmd . '?f=&fh=1' , |