From 95eff5e65355c5d14ac1c617412d994fb7a8cbc4 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 20 Jan 2014 16:12:24 -0800 Subject: [PATCH] Multi-language news category fix. --- e107_handlers/news_class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/e107_handlers/news_class.php b/e107_handlers/news_class.php index e8bc9c11a..2a2c309c7 100644 --- a/e107_handlers/news_class.php +++ b/e107_handlers/news_class.php @@ -758,8 +758,12 @@ class e_news_category_item extends e_front_model public function sc_news_category_title($parm = '') { - if('attribute' == $parm) return e107::getParser()->toAttribute($this->cat('name')); - return $this->cat('name'); + if('attribute' == $parm) + { + return e107::getParser()->toAttribute($this->cat('name')); + } + + return e107::getParser()->toHtml($this->cat('name'),true,'TITLE_PLAIN'); } public function sc_news_category_url($parm = '')