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:
@@ -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'))
|
||||
|
Reference in New Issue
Block a user