diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index 30eb6f1cd27..57ded5e6c1c 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -1371,7 +1371,7 @@ class User extends CommonObject $this->db->begin(); // Create and set $this->id - $result=$this->create($user, 1); + $result=$this->create($user); if ($result > 0) { $newpass=$this->setPassword($user, $this->pass);