List groups with nickname instead of full name in sidebar

This commit is contained in:
Mikael Nordfeldth 2015-11-30 02:21:17 +01:00
parent 334a0d56e7
commit 4479d780e5

View 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()
);
}