1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Merge pull request #4984 from Deltik/hotfix/4982

news: Fix category link in both breadcrumb and menu
This commit is contained in:
Cameron
2023-04-03 17:11:06 -07:00
committed by GitHub
4 changed files with 128 additions and 4 deletions

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', array('id'=>$this->currentRow['news_category'])));
$breadcrumb[] = array('text'=> $categoryName, 'url'=>e107::getUrl()->create('news/list/category', $this->currentRow));
$breadcrumb[] = array('text'=> $itemName, 'url'=> null);
break;