Skip to content
Snippets Groups Projects
Commit 6f3cd905 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Fix translation error of tt content element

parent 1554b6a1
No related branches found
No related tags found
1 merge request!6Feature news migration
...@@ -142,7 +142,7 @@ class MigrateNewsCommandController extends CommandController { ...@@ -142,7 +142,7 @@ class MigrateNewsCommandController extends CommandController {
$this->persistenceManager->persistAll(); $this->persistenceManager->persistAll();
// update content element from the new page // 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']]); $db->exec_UPDATEquery('tt_content', $where, ['bodytext' => $row['bodytext']]);
} }
} else { // this row is a translation and should simply update the content accordingly } else { // this row is a translation and should simply update the content accordingly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment