Skip to content

Commit fb3136e

Browse files
committed
MAGETWO-70318: [Github #10041] Generate static content command still requires DB connection
1 parent 0d6c9d3 commit fb3136e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ public function get($path = '')
6565

6666
$patchChunks = explode('/', $path);
6767

68-
if (
69-
isset($patchChunks[1])
68+
if (isset($patchChunks[1])
7069
&& is_numeric($patchChunks[1])
7170
&& in_array($patchChunks[0], [ScopeInterface::SCOPE_WEBSITES, ScopeInterface::SCOPE_STORES], true)
7271
) {

0 commit comments

Comments
 (0)