Skip to content
Snippets Groups Projects
Unverified Commit f34125b3 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

import: fix ignored elements

parent 5ebe1127
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,8 @@ class ElementImportService
try {
$import->setCurrMessage("Importation des données $i/$size traitées");
$result = $this->importOneService->createElementFromArray($row, $import);
$newlyImportedElementIds[] = $result['id'];
if (isset($result['id']))
$newlyImportedElementIds[] = $result['id'];
// saving modified version so it does not get deleted at the end of the import
if (isset($result['id_pending_modified']))
$newlyImportedElementIds[] = $result['id_pending_modified'];
......
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