Skip to content

Commit

Permalink
fix: final config not showing FALSE values
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Mar 20, 2024
1 parent 35aea6b commit b20d88a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RockMigrations.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -5816,6 +5816,9 @@ private function showConfigInfo($inputfields)
<th>Final Config</th>
</tr>";
foreach ($raw as $key => $db) {
if ($key == 'installMacros') continue;
if ($key == 'profile') continue;

$db = $this->showConfigInfoDump($db);
$forced = $this->showConfigInfoDump($this->configForced->get($key));
$final = $this->showConfigInfoDump($this->get($key));
Expand Down Expand Up @@ -5844,7 +5847,7 @@ private function showConfigInfo($inputfields)

private function showConfigInfoDump($data)
{
if (!$data) return;
if ($data === null) return;
if (is_int($data)) return $data;
if (is_string($data)) return $data;
return nl2br($this->yamlDump($data));
Expand Down

0 comments on commit b20d88a

Please sign in to comment.