Merge branch '15_fix_actioncomm_code_not_updated' of github.com:FHenry/dolibarr into 15_fix_actioncomm_code_not_updated

This commit is contained in:
Florian HENRY 2022-06-02 15:32:37 +02:00
commit d5c4cac64b

View File

@ -1133,7 +1133,6 @@ class ActionComm extends CommonObject
if ($result>=0) {
$sql .= ", code = '" . $this->db->escape($cactioncomm->code) . "'";
}
}
$sql .= ", label = ".($this->label ? "'".$this->db->escape($this->label)."'" : "null");
$sql .= ", datep = ".(strval($this->datep) != '' ? "'".$this->db->idate($this->datep)."'" : 'null');