Fix : entity was missing in actioncomm fetch

This commit is contained in:
Maxime Kohlhaas 2020-05-18 10:44:55 +02:00
parent e327d609d7
commit cf96383bf9

View File

@ -572,6 +572,7 @@ class ActionComm extends CommonObject
$sql = "SELECT a.id,";
$sql.= " a.id as ref,";
$sql.= " a.entity,";
$sql.= " a.ref_ext,";
$sql.= " a.datep,";
$sql.= " a.datep2,";
@ -608,6 +609,7 @@ class ActionComm extends CommonObject
$obj = $this->db->fetch_object($resql);
$this->id = $obj->id;
$this->entity = $obj->entity;
$this->ref = $obj->ref;
$this->ref_ext = $obj->ref_ext;