Skip to content

Commit 8296637

Browse files
Mahesh SinghMahesh Singh
authored andcommitted
Issue#18604 fixed in this commit
1 parent c9d1bec commit 8296637

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/code/Magento/Catalog/Pricing/Price/BasePrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getValue()
3030
$this->value = false;
3131
foreach ($this->priceInfo->getPrices() as $price) {
3232
if ($price instanceof BasePriceProviderInterface && $price->getValue() !== false) {
33-
$this->value = min($price->getValue(), $this->value ?: $price->getValue());
33+
$this->value = min($price->getValue(), $this->value !== false ?: $price->getValue());
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)