Skip to content

Commit 017ec8b

Browse files
authored
Merge pull request #8863 from magento-gl/spartans_pr_29032024_AC-11661
[Spartans] Bugfix Delivery
2 parents b645958 + d4f64e8 commit 017ec8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Config/Console/Command/ConfigShowCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private function outputResult(OutputInterface $output, $configValue, $configPath
238238
{
239239
if (!is_array($configValue)) {
240240
$value = $this->valueProcessor->process($this->scope, $this->scopeCode, $configValue, $configPath);
241-
$output->writeln($this->inputPath === $configPath ? $value : sprintf("%s - %s", $configPath, $value));
241+
$output->writeln($this->inputPath === $configPath ? [$value] : sprintf("%s - %s", $configPath, $value));
242242
} elseif (is_array($configValue)) {
243243
foreach ($configValue as $name => $value) {
244244
$childPath = empty($configPath) ? $name : ($configPath . '/' . $name);

0 commit comments

Comments
 (0)