Skip to content

Commit 6747c9d

Browse files
committed
Merge remote-tracking branch 'origin/AC-6685' into ArrowsBugFixDelivery_23112022
2 parents 58172e5 + 9b18305 commit 6747c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/ProductCategories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getCategoryIdsByProduct(int $productId, int $storeId)
7070
['store_group' => $storeGroupTable],
7171
$connection->quoteInto(
7272
'store.group_id = store_group.group_id AND NOT EXISTS
73-
(SELECT 1 FROM store_group WHERE cat_index.category_id IN (store_group.root_category_id)
73+
(SELECT 1 FROM '.$storeGroupTable.' WHERE cat_index.category_id IN (store_group.root_category_id)
7474
and cat_index.product_id = ?)',
7575
$productId,
7676
\Zend_Db::INT_TYPE

0 commit comments

Comments
 (0)