You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: install/lib/installer_base.lib.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ public function add_database_server_record() {
163
163
."IDENTIFIED BY '".$cf['ispconfig_password']."';";
164
164
if(!$this->db->query($query)) {
165
165
$tmp = $this->db->queryOneRecord("SELECT * from mysql.user WHERE User = '".$cf['ispconfig_user']."' AND Host = '$from_host'");
166
-
if($tmp["User"] == $cf['ispconfig_user'])) {
166
+
if($tmp["User"] == $cf['ispconfig_user']) {
167
167
$this->db->query("UPDATE mysql.user SET `password` = PASSWORD('".$cf['ispconfig_password']."') WHERE User = '".$cf['ispconfig_user']."' AND Host = '$from_host'");
168
168
} else {
169
169
$this->error('Unable to create database user: '.$cf['ispconfig_user']);
0 commit comments