Skip to content

Commit ac10423

Browse files
author
Prabhu Ram
committed
- fix static failure
1 parent fac43c2 commit ac10423

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/AttributeOptionProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ private function formatResult(\Magento\Framework\DB\Select $select): array
126126
$result[$option['attribute_code']] = [
127127
'attribute_id' => $option['attribute_id'],
128128
'attribute_code' => $option['attribute_code'],
129-
'attribute_label' => $option['attribute_store_label'] ? $option['attribute_store_label'] : $option['attribute_label'],
129+
'attribute_label' => $option['attribute_store_label']
130+
? $option['attribute_store_label'] : $option['attribute_label'],
130131
'options' => [],
131132
];
132133
}

0 commit comments

Comments
 (0)