File tree 4 files changed +7
-5
lines changed
Integration/Block/Adminhtml/Integration/Edit/Tab
UrlRewrite/Block/Plugin/Store/Switcher
4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 63
63
date_default_timezone_set ('UTC ' );
64
64
65
65
/* Adjustment of precision value for several versions of PHP */
66
- ini_set ('precision ' , 17 );
67
- ini_set ('serialize_precision ' , 17 );
66
+ ini_set ('precision ' , 15 );
67
+ ini_set ('serialize_precision ' , 15 );
Original file line number Diff line number Diff line change @@ -190,7 +190,8 @@ private function getAclResources()
190
190
$ configResource = array_filter (
191
191
$ resources ,
192
192
function ($ node ) {
193
- return $ node ['id ' ] == 'Magento_Backend::admin ' ;
193
+ return isset ($ node ['id ' ])
194
+ && $ node ['id ' ] == 'Magento_Backend::admin ' ;
194
195
}
195
196
);
196
197
$ configResource = reset ($ configResource );
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function beforeGetTargetStorePostData(
64
64
]);
65
65
if ($ urlRewrite ) {
66
66
$ data [ActionInterface::PARAM_NAME_URL_ENCODED ] = $ this ->urlHelper ->getEncodedUrl (
67
- $ this ->trimSlashInPath ($ this ->urlBuilder ->getUrl ($ urlRewrite ->getRequestPath ()))
67
+ $ this ->trimSlashInPath ($ this ->urlBuilder ->getUrl ($ urlRewrite ->getRequestPath (), [ ' _scope ' => $ store ] ))
68
68
);
69
69
}
70
70
return [$ store , $ data ];
Original file line number Diff line number Diff line change @@ -210,7 +210,8 @@ private function getAclResources()
210
210
$ configResource = array_filter (
211
211
$ resources ,
212
212
function ($ node ) {
213
- return $ node ['id ' ] == 'Magento_Backend::admin ' ;
213
+ return isset ($ node ['id ' ])
214
+ && $ node ['id ' ] == 'Magento_Backend::admin ' ;
214
215
}
215
216
);
216
217
$ configResource = reset ($ configResource );
You can’t perform that action at this time.
0 commit comments