]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Only hide the search if "local_search" was activated.
[friendica.git] / include / nav.php
index 2e8dd772c5158f997451ab4fe3d92cb7b9eff78b..8f82bc4d0220d20993228df77ae83c0047b7363b 100644 (file)
@@ -118,7 +118,7 @@ function nav_info(&$a) {
        if(count($a->apps)>0)
                $nav['apps'] = array('apps', t('Apps'), "", t('Addon applications, utilities, games'));
 
-       if (local_user()) {
+       if (local_user() OR !get_config('system','local_search')) {
                $nav['search'] = array('search', t('Search'), "", t('Search site content'));
 
                $nav['searchoption'] = array(