diff --git a/e107_plugins/news/news.php b/e107_plugins/news/news.php index aee8881f1..86e9d8de6 100644 --- a/e107_plugins/news/news.php +++ b/e107_plugins/news/news.php @@ -419,6 +419,8 @@ class news_front $title = e107::getParser()->toDate($unix, $format); + $title = strip_tags($title); + if(!defined('e_PAGETITLE')) { define('e_PAGETITLE', $title ); @@ -1322,8 +1324,9 @@ class news_front } - if (!($news_total = $sql->gen($query))) - { // No news items + if (!($news_total = $sql->gen($query))) // No news items + { + $this->setNewsFrontMeta(null,$this->action); return "