Fix #5450
This commit is contained in:
parent
3b56370060
commit
e52d6db3fd
@ -1741,13 +1741,14 @@ class ExpenseReportLine
|
||||
// Clean parameters
|
||||
$this->comments=trim($this->comments);
|
||||
$this->vatrate = price2num($this->vatrate);
|
||||
$this->value_unit = price2num($this->value_unit);
|
||||
|
||||
$this->db->begin();
|
||||
|
||||
// Mise a jour ligne en base
|
||||
$sql = "UPDATE ".MAIN_DB_PREFIX."expensereport_det SET";
|
||||
$sql.= " comments='".$this->db->escape($this->comments)."'";
|
||||
$sql.= ",value_unit=".price2num($this->value_unit)."";
|
||||
$sql.= ",value_unit=".$this->value_unit."";
|
||||
$sql.= ",qty=".$this->qty."";
|
||||
$sql.= ",date='".$this->db->idate($this->date)."'";
|
||||
$sql.= ",total_ht=".$this->total_ht."";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user