summaryrefslogtreecommitdiff
path: root/lib/apiaction.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-12 04:08:31 +0000
committerZach Copley <zach@status.net>2010-03-12 04:08:31 +0000
commit13556e7ba967c4184009688348082fed1480a5d4 (patch)
tree2f027a74153d1a2df3f283331c109f07276ec97d /lib/apiaction.php
parentd31004653f51eadd5b26bfb34474387a834811a3 (diff)
Add Atom self link to tag timeline
Diffstat (limited to 'lib/apiaction.php')
-rw-r--r--lib/apiaction.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/apiaction.php b/lib/apiaction.php
index a01809ed9..b90607862 100644
--- a/lib/apiaction.php
+++ b/lib/apiaction.php
@@ -1374,6 +1374,11 @@ class ApiAction extends Action
$aargs['id'] = $id;
}
+ $tag = $this->arg('tag');
+ if (!empty($tag)) {
+ $aargs['tag'] = $tag;
+ }
+
parse_str($_SERVER['QUERY_STRING'], $params);
$pstring = '';
if (!empty($params)) {