From: Brenda Wallace Date: Thu, 23 Jul 2009 09:46:20 +0000 (+1200) Subject: Call $this->getNotices() always, becuase $this will be the right class. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a33ffe1357c93b4bf1a717c3ed4883170431575d;p=quix0rs-gnu-social.git Call $this->getNotices() always, becuase $this will be the right class. e.g. TagrssAction or PublicrssAction --- diff --git a/lib/rssaction.php b/lib/rssaction.php index 9898894edd..23653e4062 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -98,11 +98,7 @@ class Rss10Action extends Action // Parent handling, including cache check parent::handle($args); // Get the list of notices - if (empty($this->tag)) { - $this->notices = $this->getNotices($this->limit); - } else { - $this->notices = $this->getTaggedNotices($this->tag, $this->limit); - } + $this->notices = $this->getNotices($this->limit); $this->showRss(); }