diff --git a/library/Director/Objects/ImportSource.php b/library/Director/Objects/ImportSource.php index c2c6a028..0d38b6e6 100644 --- a/library/Director/Objects/ImportSource.php +++ b/library/Director/Objects/ImportSource.php @@ -105,10 +105,6 @@ class ImportSource extends DbObjectWithSettings implements ExportInterface } $object->setProperties($properties); - if ($id !== null) { - // TODO: really? - $object->reallySet('id', $id); - } return $object; } @@ -129,6 +125,7 @@ class ImportSource extends DbObjectWithSettings implements ExportInterface if ($this->loadedRowModifiers[$i]->hasBeenModified()) { $modified = true; } + $i++; } if ($modified) { // TOOD: no newRowModifiers, directly store loaded ones if diff