From cb69048fd07d6c52a885e1245d27b3a09faa3182 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 8 Jul 2013 12:03:37 -0700 Subject: [PATCH] Issue #407 - Incorrect news category link. --- e107_core/url/news/url.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/e107_core/url/news/url.php b/e107_core/url/news/url.php index 767a343f4..120231520 100644 --- a/e107_core/url/news/url.php +++ b/e107_core/url/news/url.php @@ -128,8 +128,14 @@ class core_news_url extends eUrlConfig break; case 'category': - if(!vartrue($params['id'])) $url .= 'default.0.'.$page; - else $url .= 'list.'.$params['id'].'.'.$page; + if(!vartrue($params['id'])) + { + $url .= 'default.0.'.$page; + } + else + { + $url .= 'list.'.$params['category_id'].'.'.$page; + } break; case 'all':