From: Mikael Nordfeldth Date: Mon, 30 Nov 2015 01:21:17 +0000 (+0100) Subject: List groups with nickname instead of full name in sidebar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;h=4479d780e5ae6e2c8b63b1f2788ae0316c59ed3e;p=quix0rs-gnu-social.git List groups with nickname instead of full name in sidebar --- diff --git a/lib/groupsnav.php b/lib/groupsnav.php index f047e16a60..738604583c 100644 --- a/lib/groupsnav.php +++ b/lib/groupsnav.php @@ -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() ); }