Skip to content

Commit

Permalink
fix Fatal Error when save configurable product in Magento 2.2.5 magen…
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagolima-bm committed Oct 8, 2018
1 parent 1416c4c commit 03698da
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'])) {
$result[$item['variationKey']] = $this->mapData($item);

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

0 comments on commit 03698da

Please sign in to comment.