diff options
| author | 2024-03-19 13:42:12 +0100 | |
|---|---|---|
| committer | 2024-03-19 13:42:12 +0100 | |
| commit | b5445e1e56497f8bdc1de35a8325418c44b96d37 (patch) | |
| tree | ae4aacc07c0d4034d20f9c57a2c7abbe6fa32afb /cli/do-install.php | |
| parent | 6bd6494ad48c4894befed44e9c3f753c123aca5d (diff) | |
Fix CLI install regressions (#6214)
* Fix CLI install with prefix
It was not possible to pass a blank prefix
* Fix regression EXIT_CODE_ALREADY_EXISTS
The dedicated exit code was not sent anymore when a user already exists
Diffstat (limited to 'cli/do-install.php')
| -rwxr-xr-x | cli/do-install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/do-install.php b/cli/do-install.php index 77acc58ed..483a443d9 100755 --- a/cli/do-install.php +++ b/cli/do-install.php @@ -132,7 +132,7 @@ if ((!empty($config['base_url'])) && is_string($config['base_url']) && Minz_Requ $config['pubsubhubbub_enabled'] = true; } -$config['db'] = array_merge($config['db'], array_filter($dbValues)); +$config['db'] = array_merge($config['db'], array_filter($dbValues, static fn($value) => $value !== null)); performRequirementCheck($config['db']['type']); |
