X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=blobdiff_plain;f=lib%2Fgroupsnav.php;fp=lib%2Fgroupsnav.php;h=738604583ca3f07c35391ea6e35b3dd00987a4b9;hp=8e5d1a39fb60584f29b001103c74f5fb8ce0ca24;hb=4160a3fb730113f3d712bd777884c4b0482f6df1;hpb=abd90bbdf562614755802885dfb5673645df8575 diff --git a/lib/groupsnav.php b/lib/groupsnav.php index 8e5d1a39fb..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() ); } @@ -91,7 +91,7 @@ class GroupsNav extends MoreMenu _('See all groups you belong to.')); } - function item($actionName, $args, $label, $description, $id=null, $cls=null) + function item($actionName, array $args, $label, $description, $id=null, $cls=null) { if ($actionName != 'placeholder') { return parent::item($actionName, $args, $label, $description, $id, $cls);