Skip to content

Commit

Permalink
Added missing check on parent data
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin-Magmodules committed Mar 25, 2021
1 parent 5ec0e78 commit e6d20f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/ProductData/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function execute(
}
}
}
if (isset($data[$entityId]['parent_id'])) {
if (isset($data[$entityId]['parent_id']) && isset($data[$data[$entityId]['parent_id']])) {
$data[$entityId]['image_logic'] = $extraParameters['behaviour'][
$data[
$data[$entityId]['parent_id']
Expand Down

0 comments on commit e6d20f6

Please sign in to comment.