Skip to content

Commit

Permalink
ENGCOM-3135: fix Fatal Error when save configurable product in Magent…
Browse files Browse the repository at this point in the history
…o 2.2.5 #18082 #18461
  • Loading branch information
Stanislav Idolov authored Nov 9, 2018
2 parents 1da0438 + b3c356d commit 03a7cbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected function getVariationMatrix()
$configurableMatrix = json_decode($configurableMatrix, true);

foreach ($configurableMatrix as $item) {
if ($item['newProduct']) {
if (isset($item['newProduct']) && $item['newProduct']) {
$result[$item['variationKey']] = $this->mapData($item);

if (isset($item['qty'])) {
Expand Down

0 comments on commit 03a7cbb

Please sign in to comment.