From 968b9ce1af797ad422e26eb35bd58fc4ebd8c4b3 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 23 Oct 2012 21:24:23 -0700 Subject: more heavy lifting --- include/nav.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include/nav.php') diff --git a/include/nav.php b/include/nav.php index 5c6c7cd14..c3ef7f52d 100644 --- a/include/nav.php +++ b/include/nav.php @@ -56,11 +56,8 @@ function nav(&$a) { $nav['usermenu'][] = Array('photos/' . $channel['channel_address'], t('Photos'), "", t('Your photos')); $nav['usermenu'][] = Array('events/', t('Events'), "", t('Your events')); - // user info - $r = q("SELECT micro FROM contact WHERE uid=%d AND self=1", intval($channel['channel_id'])); - - $userinfo = array( - 'icon' => $xchan[0]['xchan_photo'], + $userinfo = array( + 'icon' => $xchan[0]['xchan_photo_s'], 'name' => $channel['channel_name'], ); -- cgit v1.2.3