Merge pull request #11890 from atm-florian/10.0

fix: fill id for links (document tab)
This commit is contained in:
Laurent Destailleur 2019-09-14 16:33:20 +02:00 committed by GitHub
commit e7d01f98cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,6 +334,7 @@ class Link extends CommonObject
if($this->db->num_rows($resql) > 0)
{
$obj = $this->db->fetch_object($resql);
$this->id=$obj->rowid;
$this->entity = $obj->entity;
$this->datea = $this->db->jdate($obj->datea);
$this->url = $obj->url;