Skip to content

Commit c212b94

Browse files
author
Oleksii Korshenko
authored
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #13020: [Backport to 2.1-develop] Attribute with "Catalog Input Type for Store Owner" equal "Fixed Product Tax" for Multi-store (by @dverkade) Fixed GitHub Issues: - #12393: Attribute with "Catalog Input Type for Store Owner" equal "Fixed Product Tax" for Multi-store (reported by @klakovskiy) has been fixed in #13020 by @dverkade in 2.1-develop branch Related commits: 1. 31c1939 2. 2502f84
2 parents febf41f + 06fc4d7 commit c212b94

File tree

1 file changed

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

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
3+
* Copyright © 2013-2018 Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
66
namespace Magento\Weee\Ui\DataProvider\Product\Form\Modifier\Manager;
@@ -67,11 +67,10 @@ public function getWebsites(ProductInterface $product, EavAttribute $eavAttribut
6767
return $this->websites = $websites;
6868
}
6969

70-
7170
if ($storeId = $this->locator->getStore()->getId()) {
7271
/** @var WebsiteInterface $website */
7372
$website = $this->storeManager->getStore($storeId)->getWebsite();
74-
$websites[$website->getId()] = [
73+
$websites[] = [
7574
'value' => $website->getId(),
7675
'label' => $this->formatLabel(
7776
$website->getName(),
@@ -84,7 +83,7 @@ public function getWebsites(ProductInterface $product, EavAttribute $eavAttribut
8483
if (!in_array($website->getId(), $product->getWebsiteIds())) {
8584
continue;
8685
}
87-
$websites[$website->getId()] = [
86+
$websites[] = [
8887
'value' => $website->getId(),
8988
'label' => $this->formatLabel(
9089
$website->getName(),

0 commit comments

Comments
 (0)