Merge pull request #8252 from ruistrecht-alt/Fix_missing_row_on_project_insert

Fix missing insert bill_time in project.class on create
This commit is contained in:
Laurent Destailleur 2018-03-02 17:59:56 +01:00 committed by GitHub
commit 85dfc2cdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,6 +196,7 @@ class Project extends CommonObject
$sql.= ", " . ($this->date_end != '' ? "'".$this->db->idate($this->date_end)."'" : 'null');
$sql.= ", " . (strcmp($this->opp_amount,'') ? price2num($this->opp_amount) : 'null');
$sql.= ", " . (strcmp($this->budget_amount,'') ? price2num($this->budget_amount) : 'null');
$sql.= ", " . ($this->bill_time ? 1 : 0);
$sql.= ", ".$conf->entity;
$sql.= ")";