Merge pull request #12026 from oscim/patch-6

Fix error in triggers process
This commit is contained in:
Laurent Destailleur 2019-10-07 14:14:36 +02:00 committed by GitHub
commit 0bd545e1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1298,7 +1298,7 @@ class User extends CommonObject
$this->db->begin();
// Cree et positionne $this->id
$result=$this->create($user);
$result=$this->create($user, 1);
if ($result > 0)
{
$sql = "UPDATE ".MAIN_DB_PREFIX."user";