We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a77921a commit 50b37d1Copy full SHA for 50b37d1
app/code/Magento/Config/Model/Config/Structure.php
@@ -191,7 +191,7 @@ public function getElementByConfigPath($path)
191
{
192
$allPaths = $this->getFieldPaths();
193
194
- if (isset($allPaths[$path])) {
+ if (isset($allPaths[$path]) && is_array($allPaths[$path])) {
195
$path = array_shift($allPaths[$path]);
196
}
197
0 commit comments