Skip to content

Commit 2e8d837

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1338 from magento-engcom/develop-prs
Public Pull Requests #10262 #10245 #10243
2 parents ce5dbd5 + 2d776b1 commit 2e8d837

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

app/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@
6363
date_default_timezone_set('UTC');
6464

6565
/* 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);

app/code/Magento/Integration/Block/Adminhtml/Integration/Edit/Tab/Webapi.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ private function getAclResources()
190190
$configResource = array_filter(
191191
$resources,
192192
function ($node) {
193-
return $node['id'] == 'Magento_Backend::admin';
193+
return isset($node['id'])
194+
&& $node['id'] == 'Magento_Backend::admin';
194195
}
195196
);
196197
$configResource = reset($configResource);

app/code/Magento/UrlRewrite/Block/Plugin/Store/Switcher/SetRedirectUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function beforeGetTargetStorePostData(
6464
]);
6565
if ($urlRewrite) {
6666
$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]))
6868
);
6969
}
7070
return [$store, $data];

app/code/Magento/User/Block/Role/Tab/Edit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ private function getAclResources()
210210
$configResource = array_filter(
211211
$resources,
212212
function ($node) {
213-
return $node['id'] == 'Magento_Backend::admin';
213+
return isset($node['id'])
214+
&& $node['id'] == 'Magento_Backend::admin';
214215
}
215216
);
216217
$configResource = reset($configResource);

0 commit comments

Comments
 (0)