From 0ed1f9d2b21447d8e9f558dd64466c1c7e86f9dd Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Wed, 23 Apr 2003 23:04:12 +0000 Subject: [PATCH] Changed: if the user hits "merge" and no destination topic is selected, the topic selection screen magically appears git-svn-id: file:///svn/phpbb/trunk@3941 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/mcp.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpBB/mcp.php b/phpBB/mcp.php index f32ffcd48e..066e04868a 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -1544,6 +1544,10 @@ switch ($mode) break; case 'merge_posts': + if (!$to_topic_id) + { + redirect("mcp.$phpEx$SID&mode=select_topic&f=$forum_id" . str_replace('&', '&', $url_extra)); + } if (!count($post_id_list)) { trigger_error($user->lang['NO_POST_SELECTED'] . '

' . sprintf($user->lang['RETURN_MCP'], '', ''));