Skip to content

Commit b568e83

Browse files
author
Sergii Kovalenko
committed
MAGETWO-60890: Fatal error logging in as admin user with restricted role
1 parent c1e806f commit b568e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Store/App/Config/Type/Scopes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(
4444
*/
4545
public function get($path = '')
4646
{
47-
if (!$this->data->getData($path)) {
47+
if (!$this->data->getData($path) || empty($path)) {
4848
$this->data->addData($this->source->get($path));
4949
}
5050

0 commit comments

Comments
 (0)