]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
UserRSS Didn't Use the Tag Propery.
authorChristopher Vollick <psycotica0@gmail.com>
Thu, 11 Feb 2010 16:19:50 +0000 (11:19 -0500)
committerZach Copley <zach@status.net>
Sat, 6 Mar 2010 00:42:17 +0000 (16:42 -0800)
This meant that server.com/user/tag/TAG/rss just returned all user data.
That was incorrect.

actions/userrss.php

index 19e610551d4bca2ec9cf65defde29b7e003a76de..6029f443182b6cd8337338460df90499764d1888 100644 (file)
@@ -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;
         }
     }