From 32d569c59464a80eb8c78a98b1953de0aa1008d8 Mon Sep 17 00:00:00 2001 From: Daniel Sinn Date: Fri, 30 Sep 2016 16:34:11 -0400 Subject: [PATCH] [ticket/14804] Fix undefined $topic_data after trying to port 3.2 changes to 3.1 PHPBB3-14804 --- phpBB/includes/mcp/mcp_forum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/mcp/mcp_forum.php b/phpBB/includes/mcp/mcp_forum.php index f887a6d5ea..87f2e558f5 100644 --- a/phpBB/includes/mcp/mcp_forum.php +++ b/phpBB/includes/mcp/mcp_forum.php @@ -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';