Skip to content

Commit 069dad6

Browse files
MAGETWO-87934: Cast handling fee to float #13680
- Merge Pull Request #13680 from schmengler/magento2:handling-fee - Merged commits: 1. 4298849
2 parents 600d194 + 4298849 commit 069dad6

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
@@ -454,7 +454,7 @@ protected function _updateFreeMethodQuote($request)
454454
*/
455455
public function getFinalPriceWithHandlingFee($cost)
456456
{
457-
$handlingFee = $this->getConfigData('handling_fee');
457+
$handlingFee = (float)$this->getConfigData('handling_fee');
458458
$handlingType = $this->getConfigData('handling_type');
459459
if (!$handlingType) {
460460
$handlingType = self::HANDLING_TYPE_FIXED;

0 commit comments

Comments
 (0)