From e6d20f6db0ed4dcdc414282d2ba94fe377ece734 Mon Sep 17 00:00:00 2001 From: Marvin-Magmodules Date: Thu, 25 Mar 2021 11:49:51 +0100 Subject: [PATCH] Added missing check on parent data --- Service/ProductData/Type.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/ProductData/Type.php b/Service/ProductData/Type.php index b020675..c51c717 100755 --- a/Service/ProductData/Type.php +++ b/Service/ProductData/Type.php @@ -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']