Skip to content

Commit

Permalink
ENGCOM-3194: Reference pull request of #18604 for 2.3-develop #18631
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Oct 26, 2018
2 parents 67dcc50 + af1faec commit 110e7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/Pricing/Price/BasePrice.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getValue()
$this->value = false;
foreach ($this->priceInfo->getPrices() as $price) {
if ($price instanceof BasePriceProviderInterface && $price->getValue() !== false) {
$this->value = min($price->getValue(), $this->value ?: $price->getValue());
$this->value = min($price->getValue(), $this->value !== false ? $this->value: $price->getValue());
}
}
}
Expand Down

0 comments on commit 110e7b6

Please sign in to comment.