From 22e7f9de84d631f97588c9acaf1f05c860eda088 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 23 May 2007 17:11:42 -0400
Subject: [PATCH] updated mail module

---
 interface/web/client/client_edit.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/interface/web/client/client_edit.php b/interface/web/client/client_edit.php
index 68b8d3a..fca18df 100644
--- a/interface/web/client/client_edit.php
+++ b/interface/web/client/client_edit.php
@@ -100,7 +100,9 @@
 		// password changed
 		if($this->dataRecord["password"] != '') {
 			$password = addslashes($this->dataRecord["password"]);
+			$client_id = $this->id;
 			$sql = "UPDATE sys_user SET passwort = md5('$password') WHERE client_id = $client_id";
+			$app->db->query($sql);
 		}
 		
 		

--
Gitblit v1.9.1