We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381c42a commit 91b959bCopy full SHA for 91b959b
app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php
@@ -461,7 +461,8 @@ private function filterWebsiteIds($websiteIds)
461
if (!$this->storeManager->isSingleStoreMode()) {
462
$websiteIds = array_filter((array) $websiteIds);
463
} else {
464
- $websiteIds[$this->storeManager->getWebsite(true)->getId()] = $this->storeManager->getWebsite(true)->getId();
+ $websiteId = $this->storeManager->getWebsite(true)->getId();
465
+ $websiteIds[$websiteId] = $websiteId;
466
}
467
468
return $websiteIds;
0 commit comments