diff options
Diffstat (limited to 'cli/reconfigure.php')
| -rwxr-xr-x | cli/reconfigure.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/reconfigure.php b/cli/reconfigure.php index ef86516f9..f2c86a8d4 100755 --- a/cli/reconfigure.php +++ b/cli/reconfigure.php @@ -113,7 +113,8 @@ foreach ($values as $name => $value) { } } -$db = array_merge(FreshRSS_Context::systemConf()->db, array_filter($dbValues)); +$db = array_merge(FreshRSS_Context::systemConf()->db, + array_filter($dbValues, fn(?string $v): bool => $v !== null && trim($v) !== '')); performRequirementCheck($db['type']); |
