File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/code/Magento/Config/Model Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -360,6 +360,10 @@ protected function _processGroup(
360360 // set value for group field entry by fieldname
361361 // use extra memory
362362 $ fieldsetData = [];
363+ foreach ($ groupData ['fields ' ] as $ fieldId => $ fieldData ) {
364+ $ fieldsetData [$ fieldId ] = $ fieldData ['value ' ] ?? null ;
365+ }
366+
363367 foreach ($ groupData ['fields ' ] as $ fieldId => $ fieldData ) {
364368 $ isReadOnly = $ this ->settingChecker ->isReadOnly (
365369 $ groupPath . '/ ' . $ fieldId ,
@@ -380,7 +384,6 @@ protected function _processGroup(
380384 if (!isset ($ fieldData ['value ' ])) {
381385 $ fieldData ['value ' ] = null ;
382386 }
383- $ fieldsetData [$ fieldId ] = $ fieldData ['value ' ];
384387 $ data = [
385388 'field ' => $ fieldId ,
386389 'groups ' => $ groups ,
You can’t perform that action at this time.
0 commit comments