From f94f455f022be7cbdeae37ebde64211da7d0d138 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 18 Aug 2008 17:46:25 +0000
Subject: [PATCH]

---
 install/lib/installer_base.lib.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php
index 2e2b6f201..08a1b84d0 100644
--- a/install/lib/installer_base.lib.php
+++ b/install/lib/installer_base.lib.php
@@ -163,7 +163,7 @@ class installer_base {
                 ."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'");
-			if($tmp["User"] == $cf['ispconfig_user'])) {
+			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 {
 				$this->error('Unable to create database user: '.$cf['ispconfig_user']);
-- 
GitLab