File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/code/Magento/Config/Model/Config Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -122,14 +122,13 @@ public function import(array $data)
122
122
$ this ->scopeConfig ->clean ();
123
123
}
124
124
125
- $ this ->state ->emulateAreaCode (Area::AREA_ADMINHTML , function () use ($ changedData ) {
125
+ $ this ->state ->emulateAreaCode (Area::AREA_ADMINHTML , function () use ($ changedData, $ data ) {
126
126
$ this ->scope ->setCurrentScope (Area::AREA_ADMINHTML );
127
127
128
128
// Invoke saving of new values.
129
129
$ this ->saveProcessor ->process ($ changedData );
130
+ $ this ->flagManager ->saveFlag (static ::FLAG_CODE , $ data );
130
131
});
131
-
132
- $ this ->flagManager ->saveFlag (static ::FLAG_CODE , $ data );
133
132
} catch (\Exception $ e ) {
134
133
throw new InvalidTransitionException (__ ('%1 ' , $ e ->getMessage ()), $ e );
135
134
} finally {
You can’t perform that action at this time.
0 commit comments