]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/groupsnav.php
List groups with nickname instead of full name in sidebar
[quix0rs-gnu-social.git] / 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()
                             );
         }