ApiTimelineList: Fixes ServerErrorAction

"No matches for action 'ApiTimelineList' with arguments 'format=atom
id=1'"

for 'api/:user/lists/:id/statuses.:format' URLs
This commit is contained in:
Chimo 2015-02-15 16:00:23 -05:00
parent 2b93643277
commit fb03fc073a

View File

@ -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;