projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1212fb
)
UserRSS Didn't Use the Tag Propery.
author
Christopher Vollick
<psycotica0@gmail.com>
Thu, 11 Feb 2010 16:19:50 +0000
(11:19 -0500)
committer
Zach Copley
<zach@status.net>
Sat, 6 Mar 2010 00:29:14 +0000
(16:29 -0800)
This meant that server.com/user/tag/TAG/rss just returned all user data.
That was incorrect.
actions/userrss.php
patch
|
blob
|
history
diff --git
a/actions/userrss.php
b/actions/userrss.php
index 19e610551d4bca2ec9cf65defde29b7e003a76de..6029f443182b6cd8337338460df90499764d1888 100644
(file)
--- a/
actions/userrss.php
+++ b/
actions/userrss.php
@@
-38,7
+38,11
@@
class UserrssAction extends Rss10Action
$this->clientError(_('No such user.'));
return false;
} else {
- $this->notices = $this->getNotices($this->limit);
+ if ($this->tag) {
+ $this->notices = $this->getTaggedNotices($tag, $this->limit);
+ } else {
+ $this->notices = $this->getNotices($this->limit);
+ }
return true;
}
}