Skip to content

Commit 890c67c

Browse files
authored
Merge pull request #1441 from algolia/bugfix/MAGE-761
Bugfix/mage 761
2 parents 9737b0a + e6a0442 commit 890c67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Entity/ProductHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ protected function addNonNullValue(
12291229
$value = $attributeResource->getFrontend()->getValue($product);
12301230
}
12311231

1232-
if ($value) {
1232+
if ($value !== null) {
12331233
$customData[$attribute['attribute']] = $value;
12341234
}
12351235

0 commit comments

Comments
 (0)