From f38aec0bc18f97dced10d2b3ba2f19e0263031e7 Mon Sep 17 00:00:00 2001
From: Leonid Poluyanov <lpoluyanov@magento.com>
Date: Mon, 18 Dec 2017 11:58:02 +0200
Subject: [PATCH] MAGETWO-84448: Product Import does not allow store-specific
 Custom Option labels

---
 .../Magento/BundleImportExport/Model/Export/RowCustomizer.php   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
index dbe583d716e..0f58b82872d 100644
--- a/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
+++ b/app/code/Magento/BundleImportExport/Model/Export/RowCustomizer.php
@@ -475,7 +475,7 @@ class RowCustomizer implements RowCustomizerInterface
     private function getStoreCodeById($storeId)
     {
         if (!isset($this->storeIdToCode[$storeId])) {
-            $this->storeIdToCode[$storeId] = $this->getStoreManager()->getStore($storeId);
+            $this->storeIdToCode[$storeId] = $this->getStoreManager()->getStore($storeId)->getCode();
         }
         return $this->storeIdToCode[$storeId];
     }
-- 
GitLab