Skip to content

Commit 0e66e6c

Browse files
committed
Mview patch update
-- move framework logic to saas-export
1 parent 6071c5a commit 0e66e6c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/internal/Magento/Framework/Mview/View/Changelog.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ public function create()
112112
['unsigned' => true, 'nullable' => false, 'default' => '0'],
113113
'Entity ID'
114114
);
115-
if ($config[self::ATTRIBUTE_SCOPE_SUPPORT]) {
115+
116+
if ($config && $config[self::ATTRIBUTE_SCOPE_SUPPORT]) {
116117
$table->addColumn(
117118
self::ATTRIBUTE_COLUMN,
118119
\Magento\Framework\DB\Ddl\Table::TYPE_INTEGER,
@@ -121,7 +122,7 @@ public function create()
121122
'Attribute ID'
122123
);
123124
}
124-
if ($config[self::STORE_SCOPE_SUPPORT]) {
125+
if ($config && $config[self::STORE_SCOPE_SUPPORT]) {
125126
$table->addColumn(
126127
self::STORE_COLUMN,
127128
\Magento\Framework\DB\Ddl\Table::TYPE_INTEGER,

0 commit comments

Comments
 (0)