1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Merge pull request #4982 from RichardBarrell/news-category-breadcrumb-fix

Fix news category breadcrumbs
This commit is contained in:
Nick L
2023-02-16 12:18:35 -06:00
committed by GitHub

View File

@@ -107,7 +107,7 @@ class news_front
$itemName = e107::getParser()->toHTML($this->currentRow['news_title'],true, 'TITLE');
$breadcrumb[] = array('text'=> $categoryName, 'url'=>e107::getUrl()->create('news/list/category', $this->currentRow));
$breadcrumb[] = array('text'=> $categoryName, 'url'=>e107::getUrl()->create('news/list/category', array('id'=>$this->currentRow['news_category'])));
$breadcrumb[] = array('text'=> $itemName, 'url'=> null);
break;