1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-20 23:51:28 +01:00

[ticket/14549] Correcting $redirect var to avoid the bug

by this correct $redirect will go to clean mcp page after merge

PHPBB3-14549
This commit is contained in:
hubaishan 2016-12-29 13:11:19 +03:00
parent 3ccaac488b
commit 40bc4ac484

View File

@ -458,7 +458,7 @@ function merge_topics($forum_id, $topic_ids, $to_topic_id)
return;
}
$redirect = request_var('redirect', build_url(array('quickmod')));
$redirect = request_var('redirect', "{$phpbb_root_path}mcp.$phpEx?f=$forum_id&i=main&mode=forum_view");
$s_hidden_fields = build_hidden_fields(array(
'i' => 'main',