X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserrss.php;h=7bed1dd256bdf5db902e61841deea57dd86492fb;hb=8d26d83d7a9047d2807e1dde848d28c21ecc219b;hp=fd49a0e89904df6eff0605d3430f279005090937;hpb=7c4e550e310172ad86e387bc8c417513e7d743fc;p=quix0rs-gnu-social.git diff --git a/actions/userrss.php b/actions/userrss.php index fd49a0e899..7bed1dd256 100644 --- a/actions/userrss.php +++ b/actions/userrss.php @@ -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(); }