Skip to content

Commit 7dca786

Browse files
committed
Merge remote-tracking branch 'origin/MC-33856-CE-2' into MC-33856
# Conflicts: # app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php
2 parents bcf429f + 8cbbd56 commit 7dca786

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Wishlist/Model/LocaleQuantityProcessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ public function __construct(
4343
public function process($qty)
4444
{
4545
$this->localFilter->setOptions(['locale' => $this->localeResolver->getLocale()]);
46-
$qty = $this->localFilter->filter($qty);
46+
$qty = $this->localFilter->filter((string)$qty);
4747
if ($qty < 0) {
4848
$qty = null;
4949
}
50+
5051
return $qty;
5152
}
5253
}

0 commit comments

Comments
 (0)