Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 20af5a9

Browse files
keyur-shah-accenturemage2pratik
authored andcommitted
fix #17582 ./bin/magento config:show fails with a fatal error
1 parent 6e05396 commit 20af5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Config/Console/Command/ConfigShow/ValueProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function process($scope, $scopeCode, $value, $path)
9797
$field = $configStructure->getElementByConfigPath($path);
9898

9999
/** @var Value $backendModel */
100-
$backendModel = $field && $field->hasBackendModel()
100+
$backendModel = $field instanceof Field && $field->hasBackendModel()
101101
? $field->getBackendModel()
102102
: $this->configValueFactory->create();
103103

0 commit comments

Comments
 (0)