]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/tagrss.php
Email notify-on-fave moved to Profile_prefs (run upgrade.php)
[quix0rs-gnu-social.git] / actions / tagrss.php
index 5f4831d2214e9a500c0d9ea36366670955cd6f48..468944d11f117a99c4819c693e99dc57bb367bec 100644 (file)
@@ -29,11 +29,10 @@ class TagrssAction extends Rss10Action
     function prepare($args) {
         parent::prepare($args);
         $tag = common_canonical_tag($this->trimmed('tag'));
-        $this->tag = Notice_tag::staticGet('tag', $tag);
+        $this->tag = Notice_tag::getKV('tag', $tag);
         if (!$this->tag) {
             // TRANS: Client error when requesting a tag feed for a non-existing tag.
             $this->clientError(_('No such tag.'));
-            return false;
         } else {
             $this->notices = $this->getNotices($this->limit);
             return true;