From 2c8842d21a286f5fee8310f58638cca09c501b91 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Wed, 4 Aug 2021 07:24:28 +0200 Subject: [PATCH] Correct initialisation res_conf is an array --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 253b758..33cd4c9 100644 --- a/install.php +++ b/install.php @@ -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])) {