]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix nickname in feed title
authorZach Copley <zach@status.net>
Mon, 28 Sep 2009 00:27:42 +0000 (17:27 -0700)
committerZach Copley <zach@status.net>
Mon, 28 Sep 2009 00:27:42 +0000 (17:27 -0700)
actions/apifriendstimeline.php

index dc280b3f3f9cd7a824006f351fde4bb9a32bea19..5205160163855273cd3354f4444da32967f763d8 100644 (file)
@@ -113,15 +113,15 @@ class ApiFriendsTimelineAction extends ApiBareAuthAction
     {
         $profile    = $this->user->getProfile();
         $sitename   = common_config('site', 'name');
-        $title      = sprintf(_("%s and friends"), $user->nickname);
+        $title      = sprintf(_("%s and friends"), $this->user->nickname);
         $taguribase = common_config('integration', 'taguri');
-        $id         = "tag:$taguribase:FriendsTimeline:" . $user->id;
+        $id         = "tag:$taguribase:FriendsTimeline:" . $this->user->id;
         $link       = common_local_url(
-            'all', array('nickname' => $user->nickname)
+            'all', array('nickname' => $this->user->nickname)
         );
         $subtitle   = sprintf(
             _('Updates from %1$s and friends on %2$s!'),
-            $user->nickname, $sitename
+            $this->user->nickname, $sitename
         );
 
         switch($this->arg('format')) {