diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index cd94f5aeee733026c34cffe2e1b19936f0a5d18a..2e2b6f20149b04a0d139a42d04e15a6da7e73c6c 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -162,7 +162,7 @@ class installer_base { ."TO '".$cf['ispconfig_user']."'@'".$from_host."' " ."IDENTIFIED BY '".$cf['ispconfig_password']."';"; if(!$this->db->query($query)) { - $tmp = $this->db->queryOneRecord("SELECT * from mysql.user WHERE User = '".$cf['ispconfig_user']."' AND Host = '$from_host'") + $tmp = $this->db->queryOneRecord("SELECT * from mysql.user WHERE User = '".$cf['ispconfig_user']."' AND Host = '$from_host'"); if($tmp["User"] == $cf['ispconfig_user'])) { $this->db->query("UPDATE mysql.user SET `password` = PASSWORD('".$cf['ispconfig_password']."') WHERE User = '".$cf['ispconfig_user']."' AND Host = '$from_host'"); } else {