From 2e961201be67cc348e7da22ad7c32c87c9f3d30d Mon Sep 17 00:00:00 2001 From: tbrehm Date: Tue, 11 May 2010 11:00:08 +0000 Subject: [PATCH] Fixed: FS#1186 - Error in Installer r1728 --- install/lib/installer_base.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 78423e9152..c925f3cce9 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -300,7 +300,8 @@ class installer_base { $hosts[$item['Host']]['db'] = $conf['mysql']['master_database']; } } - + + if(is_array($hosts)) { foreach($hosts as $host => $value) { /* * Delete ISPConfig user in the master database, in case that it exists @@ -371,6 +372,7 @@ class installer_base { * It is all done. Relod the rights... */ $this->dbmaster->query('FLUSH PRIVILEGES;'); + } } -- GitLab