minor fix

This commit is contained in:
fbsanchez 2021-02-22 12:25:24 +01:00
parent 85f37a91de
commit 4b0f96126b
1 changed files with 5 additions and 1 deletions

View File

@ -1469,7 +1469,11 @@ function config_update_config()
) { ) {
// Same definition for active and historical database! // Same definition for active and historical database!
// This is a critical error. // This is a critical error.
$errors[] = __('Active and historical database cannot be the same.'); $config['error_config_update_config']['correct'] = false;
$config['error_config_update_config']['message'] = __(
'Active and historical database cannot be the same.'
);
return;
} else { } else {
if (!config_update_value('history_db_host', get_parameter('history_db_host'))) { if (!config_update_value('history_db_host', get_parameter('history_db_host'))) {
$error_update[] = __('Host'); $error_update[] = __('Host');