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

[TASK] Fixing a real url bug with the navtitle import

parent 1b6aa052
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ class MigrateNewsCommandController extends CommandController {
$where = 'pid = ' . (int) $parentId . ' AND sys_language_uid = ' . $this->languageMap[0];
$db->exec_UPDATEquery(
'pages_language_overlay', $where,
['title' => $result['title'], 'subtitle' => $result['subtitle']]
['title' => $result['title'], 'subtitle' => $result['subtitle'], 'navtitle' => '']
);
}
......@@ -324,7 +324,7 @@ class MigrateNewsCommandController extends CommandController {
$db->exec_UPDATEquery(
'pages', $where, ['title' => date(
'Y-m-d', $row['datetime']
) . ' - ' . $row['title'], 'subtitle' => $row['title'], 'lastUpdated' => $row['datetime']]
) . ' - ' . $row['title'], 'subtitle' => $row['title'], 'lastUpdated' => $row['datetime'], 'navtitle' => '']
);
} else {
// finally translate the page title if necessary
......
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