We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7320a55 commit 2e96120Copy full SHA for 2e96120
1 file changed
install/lib/installer_base.lib.php
@@ -300,7 +300,8 @@ public function grant_master_database_rights() {
300
$hosts[$item['Host']]['db'] = $conf['mysql']['master_database'];
301
}
302
303
-
+
304
+ if(is_array($hosts)) {
305
foreach($hosts as $host => $value) {
306
/*
307
* Delete ISPConfig user in the master database, in case that it exists
@@ -371,6 +372,7 @@ public function grant_master_database_rights() {
371
372
* It is all done. Relod the rights...
373
*/
374
$this->dbmaster->query('FLUSH PRIVILEGES;');
375
+ }
376
377
378
0 commit comments