mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
EONE-34 (Improvement): Forum post reporting now working properly
This commit is contained in:
@@ -257,7 +257,7 @@ class forum_shortcodes
|
||||
{
|
||||
global $page;
|
||||
if (USER) {
|
||||
return "<a href='".$this->e107->url->getUrl('forum', 'thread', 'func=report&id='.$this->postInfo['post_thread'])."'>".IMAGE_report.'</a> ';
|
||||
return "<a href='".$this->e107->url->getUrl('forum', 'thread', "func=report&id={$this->postInfo['post_thread']}&post={$this->postInfo['post_id']}")."'>".IMAGE_report.'</a> ';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user