Skip to content

Commit fb555f1

Browse files
ENGCOM-3059: [Forwardport] fix #17582 ./bin/magento config:show fails with a fatal error #18295
- Merge Pull Request #18295 from mage2pratik/magento2:2.3-develop-PR-port-17993 - Merged commits: 1. 20af5a9
2 parents 6e05396 + 20af5a9 commit fb555f1

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)