Merge pull request #13903 from atm-maxime/fix_actioncomm_fetch_entity

Fix : entity was missing in actioncomm fetch
This commit is contained in:
Laurent Destailleur 2020-05-18 14:59:10 +02:00 committed by GitHub
commit 3d385dd378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;