aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 5a066de76f..86e658b526 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -347,6 +347,12 @@ if ($mode2)
unset($mode2);
}
+// Make sure we are using the correct module
+if ($mode == 'approve' || $mode == 'disapprove')
+{
+ $module = 'queue';
+}
+
// Only Moderators can go beyond this point
if ($user->data['user_id'] == ANONYMOUS)
{