From: Zach Copley Date: Mon, 28 Sep 2009 00:27:42 +0000 (-0700) Subject: Fix nickname in feed title X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3820cc85d53c9885744deb76d4b48cd1ec8f7e9;p=quix0rs-gnu-social.git Fix nickname in feed title --- diff --git a/actions/apifriendstimeline.php b/actions/apifriendstimeline.php index dc280b3f3f..5205160163 100644 --- a/actions/apifriendstimeline.php +++ b/actions/apifriendstimeline.php @@ -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')) {