diff --git a/Classes/Command/MigrateNewsCommandController.php b/Classes/Command/MigrateNewsCommandController.php index 9ab8bd93c7c591cfc79413893f885af4c5b5ff96..6162617fca47f0595f189a59436d59c829665d35 100644 --- a/Classes/Command/MigrateNewsCommandController.php +++ b/Classes/Command/MigrateNewsCommandController.php @@ -142,7 +142,7 @@ class MigrateNewsCommandController extends CommandController { $this->persistenceManager->persistAll(); // update content element from the new page - $where = 'pid = ' . $newPageId; + $where = 'pid = ' . $newPageId . ' AND sys_language_uid = ' . (int) $row['sys_language_uid']; $db->exec_UPDATEquery('tt_content', $where, ['bodytext' => $row['bodytext']]); } } else { // this row is a translation and should simply update the content accordingly