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).

This commit is contained in:
zotlabs 2016-10-19 21:50:26 -07:00
parent b926a4c67e
commit 81f3a5cf94

View File

@ -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' ,