]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
userrss action didn't call parent preparation method
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 11 Jul 2015 17:48:18 +0000 (19:48 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 11 Jul 2015 17:48:18 +0000 (19:48 +0200)
actions/userrss.php

index fd49a0e89904df6eff0605d3430f279005090937..7bed1dd256bdf5db902e61841deea57dd86492fb 100644 (file)
@@ -27,18 +27,20 @@ class UserrssAction extends TargetedRss10Action
 
     protected function doStreamPreparation()
     {
+        parent::doStreamPreparation();
+
         $this->tag  = $this->trimmed('tag');
     }
 
     protected function getNotices()
     {
         if (!empty($this->tag)) {
-            $stream = $this->target->getTaggedNotices($this->tag, 0, $this->limit);
+            $stream = $this->getTarget()->getTaggedNotices($this->tag, 0, $this->limit);
             return $stream->fetchAll();
         }
         // otherwise we fetch a normal user stream
 
-        $stream = $this->target->getNotices(0, $this->limit);
+        $stream = $this->getTarget()->getNotices(0, $this->limit);
         return $stream->fetchAll();
     }