Fix entity when creating project (#28519)
This commit is contained in:
parent
3944eb3625
commit
ef31b0969b
1 changed files with 1 additions and 1 deletions
|
|
@ -494,7 +494,7 @@ class Project extends CommonObject
|
|||
$sql .= ", ".($this->email_msgid ? "'".$this->db->escape($this->email_msgid)."'" : 'null');
|
||||
$sql .= ", ".($this->note_private ? "'".$this->db->escape($this->note_private)."'" : 'null');
|
||||
$sql .= ", ".($this->note_public ? "'".$this->db->escape($this->note_public)."'" : 'null');
|
||||
$sql .= ", ".((int) $conf->entity);
|
||||
$sql .= ", ".setEntity($this);
|
||||
$sql .= ", ".(!isset($this->ip) ? 'NULL' : "'".$this->db->escape($this->ip)."'");
|
||||
$sql .= ")";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue