fix several problems in history db settings

This commit is contained in:
alejandro.campos@artica.es 2022-10-11 13:32:29 +02:00
parent 07232d82d1
commit b218cd0d15
1 changed files with 3 additions and 1 deletions

View File

@ -93,7 +93,9 @@ final class Config
}
if (empty($settings) === true) {
if ($config['history_db_connection'] !== false) {
if (isset($config['history_db_connection']) === true
&& $config['history_db_connection'] !== false
) {
$data = \db_get_all_rows_sql(
'SELECT * FROM `tconfig`',
false,