]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Replace AND and OR in PHP conditions by && and ||
[friendica.git] / include / nav.php
index 3c7c932e28f6b5214214d2be10177dcb06125a9f..435e892d91a5131658803b90e5da658b2c6fb86d 100644 (file)
@@ -121,7 +121,7 @@ function nav_info(App $a)
                $nav['apps'] = array('apps', t('Apps'), '', t('Addon applications, utilities, games'));
        }
 
-       if (local_user() OR !get_config('system', 'local_search')) {
+       if (local_user() || !get_config('system', 'local_search')) {
                $nav['search'] = array('search', t('Search'), '', t('Search site content'));
 
                $nav['searchoption'] = array(