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

[TASK] Fixing id bug when mapping images

parent 570f16ce
No related branches found
No related tags found
No related merge requests found
......@@ -223,7 +223,7 @@ class MigrateNewsCommandController extends CommandController {
// match old page id with old file reference id
/** @var DatabaseConnection $db */
$db = $GLOBALS['TYPO3_DB'];
$where = 'tablenames = "tx_news_domain_model_news" AND fieldname = "fal_media" AND uid_foreign = ' . $this->newsPagesMap[$row['uid']];
$where = 'tablenames = "tx_news_domain_model_news" AND fieldname = "fal_media" AND uid_foreign = ' . $row['uid'];
/** @var \mysqli_result $result */
$fileReferenceResult = $db->exec_SELECTgetSingleRow(
'uid, uid_local', 'sys_file_reference_news_migration', $where
......
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