Gestion du parametre propalrowid

This commit is contained in:
Rodolphe Quiedeville 2003-09-01 12:41:25 +00:00
parent 362559c0ac
commit 70d7d13851

View File

@ -60,9 +60,13 @@ class ActionComm
{
$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 .= $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) )
{