aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/includes/functions_admin.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 84a8946e06..975dc6c8e5 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -201,6 +201,7 @@ p a {
<li>[Change] Moved note about dns_get_record function for using GTalk (Jabber) from Jabber log to Jabber ACP panel</li>
<li>[Fix] Do not use register_shutdown_function within cron.php if handling the queue and the mail function being used (Bug #14321)</li>
<li>[Fix] Fixing private message on-hold code if moving messages into folder based on rules (Bug #14309)</li>
+ <li>[Fix] Properly sync calls to move_posts() (Bug #14370)</li>
</ul>
</div>
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 4dfd58e28c..411d93ba25 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -504,7 +504,7 @@ function move_posts($post_ids, $topic_id, $auto_sync = true)
sync('topic_reported', 'topic_id', $topic_ids);
sync('topic_attachment', 'topic_id', $topic_ids);
- sync('topic', 'topic_id', $topic_ids, true);
+ sync('topic', 'topic_id', $topic_ids, true, true);
sync('forum', 'forum_id', $forum_ids, true, true);
}