diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index fb1b5ef160..30be597acb 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -122,6 +122,7 @@
[Fix] Support (and retain) tabs in code blocks. (Bug #25445)
[Fix] Correctly handle unread status of subforums (that are not shown on the index) of forums that are shown on the index. (Bug #14589)
[Fix] Stop users from deleting posts after the edit time has passed or they have been locked. (Bug #19115)
+ [Fix] Split posts target forum requires 'f_post' now instead of 'm_split'. (Bug #31015)
[Change] No longer allow the direct use of MULTI_INSERT in sql_build_array. sql_multi_insert() must be used.
[Change] Display warning in ACP if config.php file is left writable.
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index defd1ecb1d..b0fa5fe704 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -372,11 +372,11 @@ function split_topic($action, $topic_id, $to_forum_id, $subject)
return;
}
- $forum_info = get_forum_data(array($to_forum_id), 'm_split');
+ $forum_info = get_forum_data(array($to_forum_id), 'f_post');
if (!sizeof($forum_info))
{
- $template->assign_var('MESSAGE', $user->lang['NOT_MODERATOR']);
+ $template->assign_var('MESSAGE', $user->lang['USER_CANNOT_POST']);
return;
}