X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnav.php;h=0fa671a27d5118a384aebbaf69945dd265f8772b;hb=c73e93b19b192600053b7e680f1179cf27c615f4;hp=fb7225af920c2341e11ec2a859e3de75a4fee52d;hpb=f7537c9e90fa1b35618abd523d0d00f9658085a9;p=friendica.git diff --git a/include/nav.php b/include/nav.php index fb7225af92..0fa671a27d 100644 --- a/include/nav.php +++ b/include/nav.php @@ -82,7 +82,7 @@ function nav_info(&$a) { // user info $r = q("SELECT micro FROM contact WHERE uid=%d AND self=1", intval($a->user['uid'])); $userinfo = array( - 'icon' => (count($r) ? $a->get_cached_avatar_image($r[0]['micro']) : $a->get_baseurl($ssl_state)."/images/person-48.jpg"), + 'icon' => (count($r) ? $a->remove_baseurl($r[0]['micro']) : "images/person-48.jpg"), 'name' => $a->user['username'], );