From: Chimo Date: Sun, 15 Feb 2015 21:00:23 +0000 (-0500) Subject: ApiTimelineList: Fixes ServerErrorAction X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fb03fc073a38296602a52cc9c9899099d818f915;p=quix0rs-gnu-social.git ApiTimelineList: Fixes ServerErrorAction "No matches for action 'ApiTimelineList' with arguments 'format=atom id=1'" for 'api/:user/lists/:id/statuses.:format' URLs --- diff --git a/lib/apiaction.php b/lib/apiaction.php index d85029f433..5cebce33da 100755 --- a/lib/apiaction.php +++ b/lib/apiaction.php @@ -1516,6 +1516,11 @@ class ApiAction extends Action $aargs['id'] = $id; } + $user = $this->arg('user'); + if (!empty($user)) { + $aargs['user'] = $user; + } + $tag = $this->arg('tag'); if (!empty($tag)) { $aargs['tag'] = $tag;