mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Issue #407 - Incorrect news category link.
This commit is contained in:
@@ -128,8 +128,14 @@ class core_news_url extends eUrlConfig
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'category':
|
case 'category':
|
||||||
if(!vartrue($params['id'])) $url .= 'default.0.'.$page;
|
if(!vartrue($params['id']))
|
||||||
else $url .= 'list.'.$params['id'].'.'.$page;
|
{
|
||||||
|
$url .= 'default.0.'.$page;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$url .= 'list.'.$params['category_id'].'.'.$page;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'all':
|
case 'all':
|
||||||
|
Reference in New Issue
Block a user