Skip to content

Commit af1faec

Browse files
ENGCOM-3194: Reference pull request of #18604 for 2.3-develop #18631
- Merge Pull Request #18631 from maheshWebkul721/magento2:special-price-reviewed - Merged commits: 1. e30a12e
2 parents 1548cc2 + e30a12e commit af1faec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 ? $this->value: $price->getValue());
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)