From dcff5718f345f55f7ea81f18d1f086facde4eacf Mon Sep 17 00:00:00 2001 From: pedro_morgan <pedro_morgan@ispconfig3> Date: Mon, 20 Aug 2007 23:14:51 -0400 Subject: [PATCH] * Using new ISPC_*_PATH constants * Adding new data schema (to be moved shortly * no more $conf['classpath'] --- interface/web/client/client_edit.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/interface/web/client/client_edit.php b/interface/web/client/client_edit.php index 68b8d3a..473de4b 100644 --- a/interface/web/client/client_edit.php +++ b/interface/web/client/client_edit.php @@ -66,7 +66,7 @@ $username = addslashes($this->dataRecord["username"]); $password = addslashes($this->dataRecord["password"]); - $modules = 'mail'; + $modules = 'mail,sites,dns'; $startmodule = 'mail'; $usertheme = addslashes($this->dataRecord["usertheme"]); $type = 'user'; @@ -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