Commit 2e961201 authored by tbrehm's avatar tbrehm

Fixed: FS#1186 - Error in Installer r1728

parent 7320a556
...@@ -300,7 +300,8 @@ class installer_base { ...@@ -300,7 +300,8 @@ class installer_base {
$hosts[$item['Host']]['db'] = $conf['mysql']['master_database']; $hosts[$item['Host']]['db'] = $conf['mysql']['master_database'];
} }
} }
if(is_array($hosts)) {
foreach($hosts as $host => $value) { foreach($hosts as $host => $value) {
/* /*
* Delete ISPConfig user in the master database, in case that it exists * Delete ISPConfig user in the master database, in case that it exists
...@@ -371,6 +372,7 @@ class installer_base { ...@@ -371,6 +372,7 @@ class installer_base {
* It is all done. Relod the rights... * It is all done. Relod the rights...
*/ */
$this->dbmaster->query('FLUSH PRIVILEGES;'); $this->dbmaster->query('FLUSH PRIVILEGES;');
}
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment