mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
@@ -129,7 +129,7 @@ class core_news_url extends eUrlConfig
|
||||
break;
|
||||
|
||||
case 'category':
|
||||
if(!vartrue($params['id']))
|
||||
if(!vartrue($params['category_id']))
|
||||
{
|
||||
$url .= 'default.0.'.$page;
|
||||
}
|
||||
|
@@ -999,7 +999,7 @@ class e_news_category_item extends e_front_model
|
||||
public function sc_news_category_url($parm = '')
|
||||
{
|
||||
|
||||
$url = e107::getUrl()->create('news/list/category', array('id' => $this->getId(), 'name' => $this->cat('sef')));
|
||||
$url = e107::getUrl()->create('news/list/category', array($this->getFieldIdName() => $this->getId(), 'name' => $this->cat('sef')));
|
||||
switch($parm)
|
||||
{
|
||||
case 'link':
|
||||
|
Reference in New Issue
Block a user