diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index d89e1308612..8e0a9d956cb 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -1293,8 +1293,8 @@ class User extends CommonObject $this->db->begin(); - // Cree et positionne $this->id - $result=$this->create($user); + // Create user and set $this->id. Trigger is disabled because executed later. + $result=$this->create($user, 1); if ($result > 0) { $sql = "UPDATE ".MAIN_DB_PREFIX."user";