Skip to content

Commit 09bd229

Browse files
authored
Update Tierprice.php
1 parent edf09b3 commit 09bd229

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/Product/Attribute/Backend

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Attribute/Backend/Tierprice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ protected function modifyPriceData($object, $data)
170170

171171
if ($specialPrice && ($object->getPrice() > $object->getFinalPrice())) {
172172
if ($today >= strtotime($specialPriceFromDate) && $today <= strtotime($specialPriceToDate) ||
173-
$today >= strtotime($specialPriceFromDate) && is_null($specialPriceToDate)) {
173+
$today >= strtotime($specialPriceFromDate) && $specialPriceToDate === null) {
174174
$price = $specialPrice;
175175
}
176176
}

0 commit comments

Comments
 (0)