Skip to content

Commit 5798334

Browse files
committed
MC-35484: Bundle relations is remmoved when prodcuts are re-imported
1 parent e2f238a commit 5798334

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/BundleImportExport/Model/Import/Product/Type

1 file changed

+1
-1
lines changed

app/code/Magento/BundleImportExport/Model/Import/Product/Type/Bundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ private function getStoreIdByCode(string $storeCode): int
791791
if (!isset($this->storeCodeToId[$storeCode])) {
792792
/** @var $store \Magento\Store\Model\Store */
793793
foreach ($this->storeManager->getStores() as $store) {
794-
$this->storeCodeToId[$store->getCode()] = $store->getId();
794+
$this->storeCodeToId[$store->getCode()] = (int)$store->getId();
795795
}
796796
}
797797

0 commit comments

Comments
 (0)