summaryrefslogtreecommitdiff
path: root/actions/apifriendstimeline.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-09-27 17:27:42 -0700
committerZach Copley <zach@status.net>2009-09-27 17:27:42 -0700
commitf3820cc85d53c9885744deb76d4b48cd1ec8f7e9 (patch)
treeda55b817cd4799fe1221dcff5a8f9d89c470015f /actions/apifriendstimeline.php
parentd392cbed7d4ba2f280211177eb99830bd3b61b04 (diff)
Fix nickname in feed title
Diffstat (limited to 'actions/apifriendstimeline.php')
-rw-r--r--actions/apifriendstimeline.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/apifriendstimeline.php b/actions/apifriendstimeline.php
index dc280b3f3..520516016 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')) {