Skip to content

Commit ed989a0

Browse files
author
Aliaksei Yakimovich2
committed
MAGETWO-70232: Import customizable options adds it to another product if same SKU is filled
- Fixed unit test;
1 parent e4bbc9e commit ed989a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Option/SaveHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function execute($entity, $arguments = [])
6060
}
6161
}
6262
if ($options) {
63-
$this->processOptionsSaving($options, $entity->dataHasChangedFor('sku'), $entity->getSku());
63+
$this->processOptionsSaving($options, (bool)$entity->dataHasChangedFor('sku'), (string)$entity->getSku());
6464
}
6565

6666
return $entity;

0 commit comments

Comments
 (0)