Skip to content

Commit 6377d4b

Browse files
ENGCOM-1341: [Forwardport] Fixed comparison with 0 bug for TableRate shipping carrier #14772
- Merge Pull Request #14772 from mastiuhin-olexandr/magento2:2.3-develop-PR-port-13831 - Merged commits: 1. 3826c60
2 parents 35324e5 + 3826c60 commit 6377d4b

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)