From: Michael Vogel Date: Mon, 25 Apr 2016 14:42:16 +0000 (+0200) Subject: Only hide the search if "local_search" was activated. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e983dd45a37f3ac95eb4497e17f0a2aef37c086;p=friendica.git Only hide the search if "local_search" was activated. --- diff --git a/include/nav.php b/include/nav.php index 2e8dd772c5..8f82bc4d02 100644 --- a/include/nav.php +++ b/include/nav.php @@ -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(