From 839929f7648c1150dcb0603aa5de3e27b9338231 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 7 Oct 2019 14:16:47 +0200 Subject: [PATCH] FIX #12026 --- htdocs/user/class/user.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";