mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fix several problems in history db settings
This commit is contained in:
parent
07232d82d1
commit
b218cd0d15
@ -93,7 +93,9 @@ final class Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (empty($settings) === true) {
|
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(
|
$data = \db_get_all_rows_sql(
|
||||||
'SELECT * FROM `tconfig`',
|
'SELECT * FROM `tconfig`',
|
||||||
false,
|
false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user