1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Update forum_shortcodes.php

This commit is contained in:
rica-carv
2016-12-12 17:25:36 +00:00
committed by GitHub
parent 85574060b8
commit 7f3367df58

View File

@@ -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 "<a href='".$url."'>".IMAGE_new.'</a>';
}
elseif(empty($this->var['forum_replies']) && defined('IMAGE_noreplies'))