pedro_morgan
2007-08-19 b0a1cc4ca5fc5d3811c86d238a0f08600a86604d
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);
      }