diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php index 46f16fe12..a7974332f 100644 --- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php @@ -348,7 +348,8 @@ class forum_shortcodes extends e_shortcode if(USER && is_array($this->newFlagList) && in_array($this->var['forum_id'], $this->newFlagList)) { - $url = $this->sc_lastpost(['type'=>'url']); + + $url = $this->sc_lastpost(array('type'=>'url')); return "".IMAGE_new.''; } elseif(empty($this->var['forum_replies']) && defined('IMAGE_noreplies')) @@ -418,13 +419,13 @@ class forum_shortcodes extends e_shortcode function sc_lastpostuser() { - return $this->sc_lastpost(['type'=>'username']); + return $this->sc_lastpost(array('type'=>'username')); } function sc_lastpostdate() { - return $this->sc_lastpost(['type'=>'datelink']); + return $this->sc_lastpost(array('type'=>'datelink')); }