X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnav.php;h=58ec150e7ad21bbbdbadaee68240e908b8f92ae6;hb=27646cc4ad8d715317a2ca055b6c3318ddf555a9;hp=478213b4e0906cde3e75041f6bb1cdf33069e40f;hpb=cd1724eb9ef4e07ced4c9019dd7bad55dc21abce;p=friendica.git
diff --git a/include/nav.php b/include/nav.php
index 478213b4e0..58ec150e7a 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -1,8 +1,12 @@
$a->user['uid'], 'self' => true), array('limit' => 1));
$userinfo = array(
- 'icon' => (dbm::is_result($r) ? $a->remove_baseurl($r['micro']) : 'images/person-48.jpg'),
+ 'icon' => (DBM::is_result($r) ? $a->remove_baseurl($r['micro']) : 'images/person-48.jpg'),
'name' => $a->user['username'],
);
} else {
@@ -189,7 +193,7 @@ function nav_info(App $a)
$nav['settings'] = array('settings', t('Settings'), '', t('Account settings'));
- if (feature_enabled(local_user(), 'multi_profiles')) {
+ if (Feature::isEnabled(local_user(), 'multi_profiles')) {
$nav['profiles'] = array('profiles', t('Profiles'), '', t('Manage/Edit Profiles'));
}
@@ -205,7 +209,7 @@ function nav_info(App $a)
// Provide a banner/logo/whatever
$banner = Config::get('system', 'banner');
- if ($banner === false) {
+ if (is_null($banner)) {
$banner = '
Friendica';
}