From 90958fb1417e07e7a7058884f12155df6b05ddb6 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 12 Sep 2016 10:20:01 -0700 Subject: [PATCH] Fixes #1833 #6 LAN on News comment shortcode. --- e107_core/shortcodes/batch/news_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index 5ed2b8084..6a26de117 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -172,7 +172,7 @@ class news_shortcodes extends e_shortcode $NEWIMAGE = ""; } - return (!$news_item['news_allow_comments'] ? ''.($pref['comments_icon'] ? $NEWIMAGE.' ' : '')."".$param['commentlink'].intval($news_item['news_comment_total']).'' : vartrue($param['commentoffstring'],'Disabled') ); + return (!$news_item['news_allow_comments'] ? ''.($pref['comments_icon'] ? $NEWIMAGE.' ' : '')."".$param['commentlink'].intval($news_item['news_comment_total']).'' : vartrue($param['commentoffstring'],'Disabled') ); } function sc_trackback($parm=null)