pedro_morgan
2007-08-20 dcff5718f345f55f7ea81f18d1f086facde4eacf
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);
      }