]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Rename selectOne to selectFirst
[friendica.git] / include / nav.php
index 8f2f5dd70ba1a49d09fb0a1d74e95de00a666b55..ac76dd5aaa250da317257e3ab8280fb9741935d4 100644 (file)
@@ -94,7 +94,7 @@ function nav_info(App $a)
                $nav['usermenu'][] = array('notes/', t('Personal notes'), '', t('Your personal notes'));
 
                // user info
-               $r = dba::selectOne('contact', ['micro'], ['uid' => $a->user['uid'], 'self' => true]);
+               $r = dba::selectFirst('contact', ['micro'], ['uid' => $a->user['uid'], 'self' => true]);
                $userinfo = array(
                        'icon' => (DBM::is_result($r) ? $a->remove_baseurl($r['micro']) : 'images/person-48.jpg'),
                        'name' => $a->user['username'],