Skip to content
Snippets Groups Projects
Commit 7ca7002e authored by Volodymyr Kublytskyi's avatar Volodymyr Kublytskyi Committed by GitHub
Browse files

Merge pull request #1533 from magento-partners/prs-2.2-20170929

[EngCom] Partners Pull Requests
parents 29bc9adf 8a166638
Branches
No related merge requests found
......@@ -66,8 +66,11 @@ class SaveHandler implements ExtensionInterface
$this->saveConfigurableProductAttributes($entity, $configurableOptions);
}
$configurableLinks = (array) $extensionAttributes->getConfigurableProductLinks();
$this->resourceModel->saveProducts($entity, $configurableLinks);
$configurableLinks = $extensionAttributes->getConfigurableProductLinks();
if ($configurableLinks !== null) {
$configurableLinks = (array)$configurableLinks;
$this->resourceModel->saveProducts($entity, $configurableLinks);
}
return $entity;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment