Skip to content

Commit b3db585

Browse files
author
Stanislav Idolov
authored
ENGCOM-1341: [Forwardport] Fixed comparison with 0 bug for TableRate shipping carrier #14772
2 parents f8c70d5 + 6377d4b commit b3db585

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate

1 file changed

+1
-1
lines changed

app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate/RateQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function getBindings()
9999
}
100100
} else {
101101
$bind[':condition_name'] = $this->request->getConditionName();
102-
$bind[':condition_value'] = $this->request->getData($this->request->getConditionName());
102+
$bind[':condition_value'] = round($this->request->getData($this->request->getConditionName()), 4);
103103
}
104104

105105
return $bind;

0 commit comments

Comments
 (0)