fixing error on date

This commit is contained in:
r3dge 2021-05-23 18:15:00 +02:00
parent f81136231a
commit 647997af28

View File

@ -390,7 +390,7 @@ class Don extends CommonObject
$sql .= ", phone"; $sql .= ", phone";
$sql .= ", phone_mobile"; $sql .= ", phone_mobile";
$sql .= ") VALUES ("; $sql .= ") VALUES (";
$sql .= "'".$this->db->idate($now)."'"; $sql .= "'".$this->db->idate($this->date)."'";
$sql .= ", ".$conf->entity; $sql .= ", ".$conf->entity;
$sql .= ", ".price2num($this->amount); $sql .= ", ".price2num($this->amount);
$sql .= ", ".($this->modepaymentid ? $this->modepaymentid : "null"); $sql .= ", ".($this->modepaymentid ? $this->modepaymentid : "null");