Merge branch '3.3.x'

This commit is contained in:
Marc Alexander 2023-08-03 19:37:26 +02:00
commit aa9cd3e427
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -735,6 +735,7 @@ function split_topic($action, $topic_id, $to_forum_id, $subject)
// Update forum statistics
$config->increment('num_topics', 1, false);
sync('forum', 'forum_id', [$to_forum_id], true, true);
// Link back to both topics
$return_link = sprintf($user->lang['RETURN_TOPIC'], '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $post_info['topic_id']) . '">', '</a>') . '<br /><br />' . sprintf($user->lang['RETURN_NEW_TOPIC'], '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", 't=' . $to_topic_id) . '">', '</a>');