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 eacc211 + f0b0941 commit 71a33e6Copy full SHA for 71a33e6
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