diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index 813674033..31171cc0c 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -621,6 +621,8 @@ class news_shortcodes extends e_shortcode $parms = array(1 => null); } + $style = !empty($this->param['thumbnail']) ? $this->param['thumbnail'] : ''; + switch($parms[1]) { @@ -629,15 +631,15 @@ class news_shortcodes extends e_shortcode break; case 'tag': - return ""; + return ""; break; case 'img': - return ""; + return ""; break; default: - return "news_item)."'>"; + return "news_item)."'>"; break; } } @@ -813,6 +815,8 @@ class news_shortcodes extends e_shortcode $parm['type'] = 'tag'; } + $style = !empty($this->param['thumbnail']) ? $this->param['thumbnail'] : ''; + switch(vartrue($parm['type'])) { case 'src': @@ -820,12 +824,12 @@ class news_shortcodes extends e_shortcode break; case 'tag': - return ""; + return ""; break; case 'url': default: - return "news_item)."'>"; + return "news_item)."'>"; break; } }