aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-22 15:14:03 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-22 15:14:03 +0000
commit725b21f2d206efb4b34eb95ec3329bc81f66b805 (patch)
tree7de41ee058c21e1884bc5d2292f5e7014a587890 /phpBB/includes/mcp
parentdaa0435614af7bed95e71f3b11aa2c372df3958d (diff)
downloadforums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar.gz
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar.bz2
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.tar.xz
forums-725b21f2d206efb4b34eb95ec3329bc81f66b805.zip
time to squash some bugs
git-svn-id: file:///svn/phpbb/trunk@6114 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php
index f9e0494fc8..05ffde7ca5 100644
--- a/phpBB/includes/mcp/mcp_post.php
+++ b/phpBB/includes/mcp/mcp_post.php
@@ -334,7 +334,7 @@ function change_poster(&$post_info, $userdata)
$db->sql_query($sql);
// Resync topic/forum if needed
- if ($post_info['topic_last_post_id'] == $post_id || $post_info['forum_last_post_id'] == $post_id)
+ if ($post_info['topic_last_post_id'] == $post_id || $post_info['forum_last_post_id'] == $post_id || $post_info['topic_first_post_id'] == $post_id)
{
sync('topic', 'topic_id', $post_info['topic_id'], false, false);
sync('forum', 'forum_id', $post_info['forum_id'], false, false);