]> git.mxchange.org Git - friendica.git/commitdiff
fix frio_remote_nav: username wasn't displayed in top nav bar anymore
authorrabuzarus <trebor@central-unit>
Tue, 19 Apr 2016 01:17:06 +0000 (03:17 +0200)
committerrabuzarus <trebor@central-unit>
Tue, 19 Apr 2016 01:17:06 +0000 (03:17 +0200)
theme.php

index f9d15e9c9d41bb50bc7eaedae67fd45b75354dca..c0fd9b99f11d401016a588e5f026442b6da8c147 100644 (file)
--- 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'],
                        );
                }