Skip to content
Snippets Groups Projects
Commit 3df69373 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: missing entity

parent 5e1568b6
Branches
Tags
No related merge requests found
......@@ -100,6 +100,7 @@ class Project extends CommonObject
$sql.= ", datec";
$sql.= ", dateo";
$sql.= ", datee";
$sql.= ", entity";
$sql.= ") VALUES (";
$sql.= "'" . $this->db->escape($this->ref) . "'";
$sql.= ", '" . $this->db->escape($this->title) . "'";
......@@ -111,6 +112,7 @@ class Project extends CommonObject
$sql.= ", " . ($this->datec != '' ? $this->db->idate($this->datec) : 'null');
$sql.= ", " . ($this->dateo != '' ? $this->db->idate($this->dateo) : 'null');
$sql.= ", " . ($this->datee != '' ? $this->db->idate($this->datee) : 'null');
$sql.= ", ".$conf->entity;
$sql.= ")";
dol_syslog("Project::create sql=" . $sql, LOG_DEBUG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment