fix frio_remote_nav: username wasn't displayed in top nav bar anymore

This commit is contained in:
rabuzarus 2016-04-19 03:17:06 +02:00
parent 96c854e5fc
commit 09daf2de26

View file

@ -170,7 +170,7 @@ function frio_remote_nav($a,&$nav) {
if(count($r)){ if(count($r)){
$nav['userinfo'] = array( $nav['userinfo'] = array(
'icon' => (count($r) ? $r[0]['photo'] : "images/person-48.jpg"), 'icon' => (count($r) ? $r[0]['photo'] : "images/person-48.jpg"),
'name' => $r['name'], 'name' => $r[0]['name'],
); );
} }