Skip to content

Commit 92dd623

Browse files
MAGETWO-86430: [Backport to 2.2-develop] Attribute with 'Catalog Input Type for Store Owner' equal 'Fixed Product Tax' for Multi-store #13019
- Merge Pull Request #13019 from dverkade/magento2:2.2-Attribute-with-Catalog-Input-Type-for-Store-Owner - Merged commits: 1. 13546a7
2 parents 816ec39 + 13546a7 commit 92dd623

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Weee/Ui/DataProvider/Product/Form/Modifier/Manager

1 file changed

+2
-2
lines changed

app/code/Magento/Weee/Ui/DataProvider/Product/Form/Modifier/Manager/Website.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function getWebsites(ProductInterface $product, EavAttribute $eavAttribut
6868
if ($storeId = $this->locator->getStore()->getId()) {
6969
/** @var WebsiteInterface $website */
7070
$website = $this->storeManager->getStore($storeId)->getWebsite();
71-
$websites[$website->getId()] = [
71+
$websites[] = [
7272
'value' => $website->getId(),
7373
'label' => $this->formatLabel(
7474
$website->getName(),
@@ -81,7 +81,7 @@ public function getWebsites(ProductInterface $product, EavAttribute $eavAttribut
8181
if (!in_array($website->getId(), $product->getWebsiteIds())) {
8282
continue;
8383
}
84-
$websites[$website->getId()] = [
84+
$websites[] = [
8585
'value' => $website->getId(),
8686
'label' => $this->formatLabel(
8787
$website->getName(),

0 commit comments

Comments
 (0)