aboutsummaryrefslogtreecommitdiff
path: root/cli/reconfigure.php
diff options
context:
space:
mode:
Diffstat (limited to 'cli/reconfigure.php')
-rwxr-xr-xcli/reconfigure.php3
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']);