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 3fef6d1 commit 0b56c80Copy full SHA for 0b56c80
app/code/Magento/ConfigurableProductGraphQl/Model/Options/Collection.php
@@ -111,7 +111,7 @@ public function getAttributesByProductId(int $productId): array
111
*/
112
private function fetch(): array
113
{
114
- if (empty($this->productIds) || !empty($this->attributeMap)) {
+ if (empty($this->productIds) || array_key_exists(end($this->productIds), $this->attributeMap)) {
115
return $this->attributeMap;
116
}
117
0 commit comments