mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
parent
92bb0519d3
commit
a500035172
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user