From: Zach Copley <zach@status.net>
Date: Wed, 14 Sep 2011 23:25:50 +0000 (-0700)
Subject: Fix undefined variable
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5eb6c0d73132a4fb408aca8ce88e4f75e1e79997;p=quix0rs-gnu-social.git

Fix undefined variable
---

diff --git a/lib/groupprofileblock.php b/lib/groupprofileblock.php
index df383f0696..fc0679247b 100644
--- a/lib/groupprofileblock.php
+++ b/lib/groupprofileblock.php
@@ -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');