aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php7
1 files changed, 2 insertions, 5 deletions
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'],
);