Correct initialisation

res_conf is an array
This commit is contained in:
steve-lad 2021-08-04 07:24:28 +02:00
parent 6775b6686b
commit 2c8842d21a

View file

@ -899,7 +899,7 @@ function Setup_RealTime()
}
// Check database settings
$res_conf = '';
$res_conf = array();
if (file_exists($dir . '/res_mysql.conf')) {
$res_conf = $cnf_read->getConfig('res_mysql.conf');
if (empty($res_conf[$def_bd_section])) {