FIX #12026
This commit is contained in:
parent
12d243b8d4
commit
839929f764
@ -1293,8 +1293,8 @@ class User extends CommonObject
|
|||||||
|
|
||||||
$this->db->begin();
|
$this->db->begin();
|
||||||
|
|
||||||
// Cree et positionne $this->id
|
// Create user and set $this->id. Trigger is disabled because executed later.
|
||||||
$result=$this->create($user);
|
$result=$this->create($user, 1);
|
||||||
if ($result > 0)
|
if ($result > 0)
|
||||||
{
|
{
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."user";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."user";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user