summaryrefslogtreecommitdiff
path: root/actions/apitimelineuser.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apitimelineuser.php')
-rw-r--r--actions/apitimelineuser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apitimelineuser.php b/actions/apitimelineuser.php
index d50648d7c..81e23116b 100644
--- a/actions/apitimelineuser.php
+++ b/actions/apitimelineuser.php
@@ -73,7 +73,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
$this->user = $this->getTargetUser($this->arg('id'));
if (empty($this->user)) {
- $this->clientError(_('No such user!'), 404, $this->arg('format'));
+ $this->clientError(_('No such user!'), 404, $this->format);
return;
}
@@ -127,7 +127,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
$suplink = common_local_url('sup', null, null, $this->user->id);
header('X-SUP-ID: ' . $suplink);
- switch($this->arg('format')) {
+ switch($this->format) {
case 'xml':
$this->show_xml_timeline($this->notices);
break;