diff --git a/components/com_newsfeeds/views/category/view.html.php b/components/com_newsfeeds/views/category/view.html.php index 5032fcae37b4c..52c47a437fe88 100644 --- a/components/com_newsfeeds/views/category/view.html.php +++ b/components/com_newsfeeds/views/category/view.html.php @@ -45,7 +45,7 @@ class NewsfeedsViewCategory extends JViewCategory */ public function display($tpl = null) { - parent::commonCategoryDisplay(); + $this->commonCategoryDisplay(); // Prepare the data. // Compute the newsfeed slug. @@ -69,6 +69,7 @@ public function display($tpl = null) protected function prepareDocument() { parent::prepareDocument(); + $id = (int) @$menu->query['id']; $menu = $this->menu; @@ -91,7 +92,5 @@ protected function prepareDocument() $this->pathway->addItem($item['title'], $item['link']); } } - - parent::addFeed(); } }