@ -3691,7 +3691,8 @@ function store_move_post($values)
$forumId = $post->getForum()->getIid();
$threadId = $post->getThread()->getIid();
$thread = (new CForumThread())
$thread = new CForumThread();
$thread
->setThreadTitle($post->getPostTitle())
->setForum($post->getForum())
->setUser($post->getUser())
@ -62,7 +62,6 @@ final class Version20201216132000 extends AbstractMigrationChamilo
$lpItems = $resultItems->fetchAllAssociative();
if (empty($lpItems)) {
continue;
}