From 7f3367df58a3cf57d9465dd8855440a122916662 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Mon, 12 Dec 2016 17:25:36 +0000 Subject: [PATCH] Update forum_shortcodes.php --- e107_plugins/forum/shortcodes/batch/forum_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php index ceaabd52d..4593a3add 100644 --- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php @@ -348,7 +348,7 @@ class forum_shortcodes extends e_shortcode if(USER && is_array($this->newFlagList) && in_array($this->var['forum_id'], $this->newFlagList)) { - $url = $this->sc_lastpost('url'); + $url = $this->sc_lastpost(['type'=>'url']); return "".IMAGE_new.''; } elseif(empty($this->var['forum_replies']) && defined('IMAGE_noreplies'))