From d368bc1b6a6039dd4766426ef4f2eaee3f7ed443 Mon Sep 17 00:00:00 2001 From: oscim Date: Thu, 3 Oct 2019 15:58:40 +0200 Subject: [PATCH] Update user.class.php actually the create_from_member method does not require this change --- htdocs/user/class/user.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);