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.
2 parents 113bf62 + 795b2c6 commit f0b0941Copy full SHA for f0b0941
app/code/Magento/Wishlist/Model/Item.php
@@ -473,7 +473,7 @@ public function getProductUrl()
473
public function getBuyRequest()
474
{
475
$option = $this->getOptionByCode('info_buyRequest');
476
- $initialData = $option ? $this->serializer->unserialize($option->getValue()) : null;
+ $initialData = $option ? $this->serializer->unserialize($option->getValue()) : [];
477
478
if ($initialData instanceof \Magento\Framework\DataObject) {
479
$initialData = $initialData->getData();
0 commit comments