Merge pull request #15317 from bafbes/abb120352
fix:initialize ref with id value
This commit is contained in:
commit
17f4b7c140
@ -524,7 +524,7 @@ class ActionComm extends CommonObject
|
||||
$resql = $this->db->query($sql);
|
||||
if ($resql)
|
||||
{
|
||||
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."actioncomm", "id");
|
||||
$this->ref =$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."actioncomm", "id");
|
||||
|
||||
// Now insert assigned users
|
||||
if (!$error)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user