From f1e10121f7021d000fe83937f0bcc7f4e302091d Mon Sep 17 00:00:00 2001 From: Jimako Date: Sun, 19 Oct 2014 17:22:24 +0200 Subject: [PATCH] correct displaying comment icon It should be set in reverse order --- 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 87eae9d7f..1456c8deb 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -257,7 +257,7 @@ class news_shortcodes extends e_shortcode } $class = varset($parm['class']) ? " ".$parm['class'] : ""; - $text = ($this->news_item['news_allow_comments'] ? $this->param['commentoffstring'] : "news_item)."'>".$this->param['commentlink'].''); + $text = (!$this->news_item['news_allow_comments'] ? $this->param['commentoffstring'] : "news_item)."'>".$this->param['commentlink'].''); return $text; }