From 09daf2de265537a2d226822a96ea1a04307a15fb Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Tue, 19 Apr 2016 03:17:06 +0200 Subject: [PATCH] fix frio_remote_nav: username wasn't displayed in top nav bar anymore --- theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.php b/theme.php index f9d15e9c9d..c0fd9b99f1 100644 --- a/theme.php +++ b/theme.php @@ -170,7 +170,7 @@ function frio_remote_nav($a,&$nav) { if(count($r)){ $nav['userinfo'] = array( 'icon' => (count($r) ? $r[0]['photo'] : "images/person-48.jpg"), - 'name' => $r['name'], + 'name' => $r[0]['name'], ); }