Replace AND and OR in PHP conditions by && and ||
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user