We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 594c640 commit 1382aeaCopy full SHA for 1382aea
app/code/core/Mage/Wishlist/Controller/Abstract.php
@@ -85,7 +85,7 @@ public function allcartAction()
85
86
$qtysString = $this->getRequest()->getParam('qty');
87
if (isset($qtysString)) {
88
- $qtys = array_filter(json_decode($qtysString), '\strlen');
+ $qtys = array_filter(json_decode($qtysString), fn ($tmpString) => strlen($tmpString ?? ''));
89
}
90
91
/** @var Mage_Wishlist_Model_Item $item */
0 commit comments