Merge commit 'refs/merge-requests/48' of https://gitorious.org/social/mainline into merge-requests/48

This commit is contained in:
Mikael Nordfeldth 2015-02-15 22:54:48 +01:00
commit 2b181b40f7

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;