Gestion du parametre propalrowid
This commit is contained in:
parent
362559c0ac
commit
70d7d13851
@ -60,9 +60,13 @@ class ActionComm
|
|||||||
{
|
{
|
||||||
$this->contact = 0;
|
$this->contact = 0;
|
||||||
}
|
}
|
||||||
$sql = "INSERT INTO llx_actioncomm (datea, fk_action, fk_soc, fk_user_author, fk_user_action, fk_contact, percent, note,priority) ";
|
if (!strlen($this->propalrowid))
|
||||||
|
{
|
||||||
|
$this->propalrowid = 0;
|
||||||
|
}
|
||||||
|
$sql = "INSERT INTO llx_actioncomm (datea, fk_action, fk_soc, fk_user_author, fk_user_action, fk_contact, percent, note,priority,propalrowid) ";
|
||||||
$sql .= " VALUES ('$this->date', $this->type, $this->societe, $author->id,";
|
$sql .= " VALUES ('$this->date', $this->type, $this->societe, $author->id,";
|
||||||
$sql .= $this->user->id . ", $this->contact, $this->percent, '$this->note', $this->priority);";
|
$sql .= $this->user->id . ", $this->contact, $this->percent, '$this->note', $this->priority, $this->propalrowid);";
|
||||||
|
|
||||||
if ($this->db->query($sql) )
|
if ($this->db->query($sql) )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user