]> git.mxchange.org Git - friendica.git/commitdiff
Config Console Show 'NULL' for null-values
authorPhilipp <admin@philipp.info>
Tue, 15 Feb 2022 22:10:41 +0000 (23:10 +0100)
committerPhilipp <admin@philipp.info>
Tue, 15 Feb 2022 22:10:41 +0000 (23:10 +0100)
src/Console/Config.php

index 0a38f607f48674d2406c0a7edb035af1516f70bb..e32983a68a652aa6e332710798e002afb25acadd 100644 (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'));
                        }
                }