1
0
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:
mcfly
2010-03-14 19:07:57 +00:00
parent 8bb1eb7b69
commit 81b13b3289
4 changed files with 20 additions and 12 deletions

View File

@@ -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> ';
}
}