Skip to content

Commit a1fe290

Browse files
schmenglerserhii-balko
authored andcommitted
Cast handling fee to float
1 parent a083717 commit a1fe290

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)