import: skip id if empty string
This commit is contained in:
@@ -718,7 +718,9 @@ class Import
|
||||
|
||||
if ($attribute === 'id') {
|
||||
if ($action === Params::ACTION_CREATE) {
|
||||
$entity->set('id', $value);
|
||||
if ($value !== '') {
|
||||
$entity->set('id', $value);
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user