]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
List groups with nickname instead of full name in sidebar
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 30 Nov 2015 01:21:17 +0000 (02:21 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 30 Nov 2015 01:21:17 +0000 (02:21 +0100)
lib/groupsnav.php

index f047e16a60e4a916111d8e07a00cf345192149fd..738604583ca3f07c35391ea6e35b3dd00987a4b9 100644 (file)
@@ -72,9 +72,9 @@ class GroupsNav extends MoreMenu
 
         while ($this->groups instanceof User_group && $this->groups->fetch()) {
             $items[] = array('placeholder',
-                             array('nickname' => $this->groups->nickname,
+                             array('nickname' => $this->groups->getNickname(),
                                    'mainpage' => $this->groups->homeUrl()),
-                             $this->groups->getBestName(),
+                             $this->groups->getNickname(),
                              $this->groups->getBestName()
                             );
         }