fix frio_remote_nav: username wasn't displayed in top nav bar anymore
This commit is contained in:
parent
96c854e5fc
commit
09daf2de26
|
@ -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'],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue