1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 08:00:46 +01:00

[ticket/14804] Fix undefined $topic_data after trying to port 3.2 changes to 3.1

PHPBB3-14804
This commit is contained in:
Daniel Sinn 2016-09-30 16:34:11 -04:00
parent c6383d3f89
commit 32d569c594

View File

@ -476,7 +476,7 @@ function merge_topics($forum_id, $topic_ids, $to_topic_id)
$to_forum_id = $to_topic_data['forum_id'];
move_posts($post_id_list, $to_topic_id, false);
add_log('mod', $to_forum_id, $to_topic_id, 'LOG_MERGE', $topic_data['topic_title']);
add_log('mod', $to_forum_id, $to_topic_id, 'LOG_MERGE', $to_topic_data['topic_title']);
// Message and return links
$success_msg = 'POSTS_MERGED_SUCCESS';