mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +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))
|
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>';
|
return "<a href='".$url."'>".IMAGE_new.'</a>';
|
||||||
}
|
}
|
||||||
elseif(empty($this->var['forum_replies']) && defined('IMAGE_noreplies'))
|
elseif(empty($this->var['forum_replies']) && defined('IMAGE_noreplies'))
|
||||||
|
Reference in New Issue
Block a user