mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
@@ -129,7 +129,7 @@ class core_news_url extends eUrlConfig
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'category':
|
case 'category':
|
||||||
if(!vartrue($params['id']))
|
if(!vartrue($params['category_id']))
|
||||||
{
|
{
|
||||||
$url .= 'default.0.'.$page;
|
$url .= 'default.0.'.$page;
|
||||||
}
|
}
|
||||||
|
@@ -999,7 +999,7 @@ class e_news_category_item extends e_front_model
|
|||||||
public function sc_news_category_url($parm = '')
|
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)
|
switch($parm)
|
||||||
{
|
{
|
||||||
case 'link':
|
case 'link':
|
||||||
|
Reference in New Issue
Block a user