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 7aeb591 commit f772595Copy full SHA for f772595
app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/ExtractDataFromCategoryTree.php
@@ -71,7 +71,7 @@ private function sortTree(array &$tree): array
71
$node['children_count'] = 0;
72
}
73
// redirect_code null will not return , so it will be 0 when there is no redirect error.
74
- if (empty($node['redirect_code'])) {
+ if (!isset($node['redirect_code'])) {
75
$node['redirect_code'] = 0;
76
77
0 commit comments