Config Console Show 'NULL' for null-values

This commit is contained in:
Philipp 2022-02-15 23:10:41 +01:00
parent 4e58c6981c
commit be240ca500
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -151,7 +151,7 @@ HELP;
$this->out("{$cat}.{$key}[{$k}] => " . (is_array($v) ? implode(', ', $v) : $v));
}
} else {
$this->out("{$cat}.{$key} => " . $value);
$this->out("{$cat}.{$key} => " . ($value ?? 'NULL'));
}
}