Skip to content

Commit d6f3c21

Browse files
author
Andrii Kasian
committed
MAGETWO-43755: [GITHUB] The commit «PCF: removing grouped price» from 2015-10-02 breaks Magento schema upgrading with the exception
1 parent 02c2cef commit d6f3c21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Catalog/Setup/UpgradeData.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface
5252
'Images',
5353
'attribute_group_name'
5454
);
55-
if ($attributeGroup['attribute_group_name'] == 'Images') {
55+
if (isset($attributeGroup['attribute_group_name'])
56+
&& $attributeGroup['attribute_group_name'] == 'Images'
57+
) {
5658
// update General Group
5759
$categorySetup->updateAttributeGroup(
5860
$entityTypeId,

0 commit comments

Comments
 (0)