Skip to content

Commit b9b9d5e

Browse files
committed
MAGETWO-53424: Added additional arguments into attributes creation
1 parent 7f46ba4 commit b9b9d5e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

app/code/Magento/Store/Model/StoreScopeProvider.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ public function getContext($entityType, $entityData = [])
5050
if (isset($entityData[Store::STORE_ID])) {
5151
$value = $entityData[Store::STORE_ID];
5252
} else {
53-
if ($this->storeManager->hasSingleStore()) {
54-
$value = Store::DEFAULT_STORE_ID;
55-
} else {
56-
$value = (int)$this->storeManager->getStore(true)->getId();
57-
}
53+
// if ($this->storeManager->hasSingleStore()) {
54+
// $value = Store::DEFAULT_STORE_ID;
55+
// } else {
56+
// $value = (int)$this->storeManager->getStore(true)->getId();
57+
// }
58+
$value = (int)$this->storeManager->getStore(true)->getId();
5859
}
5960

6061
$identifier = Store::STORE_ID;

0 commit comments

Comments
 (0)