We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6071c5a commit 0e66e6cCopy full SHA for 0e66e6c
lib/internal/Magento/Framework/Mview/View/Changelog.php
@@ -112,7 +112,8 @@ public function create()
112
['unsigned' => true, 'nullable' => false, 'default' => '0'],
113
'Entity ID'
114
);
115
- if ($config[self::ATTRIBUTE_SCOPE_SUPPORT]) {
+
116
+ if ($config && $config[self::ATTRIBUTE_SCOPE_SUPPORT]) {
117
$table->addColumn(
118
self::ATTRIBUTE_COLUMN,
119
\Magento\Framework\DB\Ddl\Table::TYPE_INTEGER,
@@ -121,7 +122,7 @@ public function create()
121
122
'Attribute ID'
123
124
}
- if ($config[self::STORE_SCOPE_SUPPORT]) {
125
+ if ($config && $config[self::STORE_SCOPE_SUPPORT]) {
126
127
self::STORE_COLUMN,
128
0 commit comments