ref_ext is not in sql requete for save
ref_ext is not in sql requete for save
This commit is contained in:
parent
5aa4f9b5ae
commit
7cc87423e4
@ -455,6 +455,7 @@ class ActionComm extends CommonObject
|
||||
$sql .= "durationp,"; // deprecated
|
||||
$sql .= "fk_action,";
|
||||
$sql .= "code,";
|
||||
$sql .= "ref_ext,";
|
||||
$sql .= "fk_soc,";
|
||||
$sql .= "fk_project,";
|
||||
$sql .= "note,";
|
||||
@ -484,6 +485,7 @@ class ActionComm extends CommonObject
|
||||
$sql .= ((isset($this->durationp) && $this->durationp >= 0 && $this->durationp != '') ? "'".$this->db->escape($this->durationp)."'" : "null").", "; // deprecated
|
||||
$sql .= (isset($this->type_id) ? $this->type_id : "null").",";
|
||||
$sql .= ($code ? ("'".$code."'") : "null").", ";
|
||||
$sql .= ($this->ref_ext ? ("'".$this->ref_ext."'") : "null").", ";
|
||||
$sql .= ((isset($this->socid) && $this->socid > 0) ? $this->socid : "null").", ";
|
||||
$sql .= ((isset($this->fk_project) && $this->fk_project > 0) ? $this->fk_project : "null").", ";
|
||||
$sql .= " '".$this->db->escape($this->note_private ? $this->note_private : $this->note)."', ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user