aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index a8042c5b57..8874ef7f33 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -267,7 +267,9 @@ function _module_warn_url($mode, &$module_row)
{
if ($mode == 'front' || $mode == 'list')
{
- return '';
+ global $forum_id;
+
+ return ($forum_id) ? "&f=$forum_id" : '';
}
if ($mode == 'warn_post')
@@ -307,6 +309,11 @@ function _module_queue_url($mode, &$module_row)
return extra_url();
}
+function _module_reports_url($mode, &$module_row)
+{
+ return extra_url();
+}
+
function extra_url()
{
global $forum_id, $topic_id, $post_id, $user_id;