]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix undefined variable
authorZach Copley <zach@status.net>
Wed, 14 Sep 2011 23:25:50 +0000 (16:25 -0700)
committerZach Copley <zach@status.net>
Wed, 14 Sep 2011 23:35:18 +0000 (16:35 -0700)
lib/groupprofileblock.php

index df383f06964ecf840bb38ac03d80d670ca5184ac..fc0679247b933665e6306ab00483927700f81193 100644 (file)
@@ -117,7 +117,7 @@ class GroupProfileBlock extends ProfileBlock
                                                                           array('nickname' => $this->group->nickname)),
                                                // TRANS: Tooltip for menu item in the group navigation page. Only shown for group administrators.
                                                // TRANS: %s is the nickname of the group.
-                                               'title' => sprintf(_m('TOOLTIP','Edit %s group properties'), $nickname)),
+                                               'title' => sprintf(_m('TOOLTIP','Edit %s group properties'), $this->group->nickname)),
                                     // TRANS: Link text for link on user profile.
                                     _m('BUTTON','Edit'));
                 $this->out->elementEnd('li');
@@ -126,7 +126,7 @@ class GroupProfileBlock extends ProfileBlock
                                                                           array('nickname' => $this->group->nickname)),
                                                // TRANS: Tooltip for menu item in the group navigation page. Only shown for group administrators.
                                                // TRANS: %s is the nickname of the group.
-                                               'title' => sprintf(_m('TOOLTIP','Add or edit %s logo'), $nickname)),
+                                               'title' => sprintf(_m('TOOLTIP','Add or edit %s logo'), $this->group->nickname)),
                                     // TRANS: Link text for link on user profile.
                                     _m('MENU','Logo'));
                 $this->out->elementEnd('li');