aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 8897c32a23..45c47dea57 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -297,6 +297,13 @@ if ($action == 'merge_select')
$mode = 'forum_view';
}
+if (in_array($mode, array('split', 'split_all', 'split_beyond', 'merge', 'merge_posts')))
+{
+ $_REQUEST['action'] = $action = $mode;
+ $mode = 'topic_view';
+ $quickmod = 0;
+}
+
if (!$quickmod)
{
$post_id = request_var('p', 0);
@@ -334,11 +341,6 @@ switch ($mode)
case 'delete_post':
$mcp->load('mcp', 'main', $mode);
break;
- case 'split':
- case 'merge':
- case 'fork':
- case 'viewlogs':
- break;
default:
trigger_error("$mode not allowed as quickmod");
}