Skip to content

Commit 6a6039b

Browse files
MAGETWO-88275: [Forwardport] Cast handling fee to float #13818
- Merge Pull Request #13818 from serhii-balko/magento2:2.3-develop-PR-port-13680 - Merged commits: 1. a1fe290
2 parents a083717 + a1fe290 commit 6a6039b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Shipping/Model/Carrier/AbstractCarrier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ protected function _updateFreeMethodQuote($request)
453453
*/
454454
public function getFinalPriceWithHandlingFee($cost)
455455
{
456-
$handlingFee = $this->getConfigData('handling_fee');
456+
$handlingFee = (float)$this->getConfigData('handling_fee');
457457
$handlingType = $this->getConfigData('handling_type');
458458
if (!$handlingType) {
459459
$handlingType = self::HANDLING_TYPE_FIXED;

0 commit comments

Comments
 (0)