Skip to content

Commit f5c15fc

Browse files
author
Stanislav Idolov
authored
ENGCOM-1113: Stop cast of item_qty to int #13517
2 parents 160e368 + 9a3c2eb commit f5c15fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(
5555
public function execute()
5656
{
5757
$itemId = (int)$this->getRequest()->getParam('item_id');
58-
$itemQty = (int)$this->getRequest()->getParam('item_qty');
58+
$itemQty = $this->getRequest()->getParam('item_qty') * 1;
5959

6060
try {
6161
$this->sidebar->checkQuoteItem($itemId);

0 commit comments

Comments
 (0)