Skip to content

Commit f94f455

Browse files
committed
1 parent 6acf424 commit f94f455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function add_database_server_record() {
163163
."IDENTIFIED BY '".$cf['ispconfig_password']."';";
164164
if(!$this->db->query($query)) {
165165
$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']) {
167167
$this->db->query("UPDATE mysql.user SET `password` = PASSWORD('".$cf['ispconfig_password']."') WHERE User = '".$cf['ispconfig_user']."' AND Host = '$from_host'");
168168
} else {
169169
$this->error('Unable to create database user: '.$cf['ispconfig_user']);

0 commit comments

Comments
 (0)