Merge pull request #12053 from atm-lena/9.0_fix_link_fetch

FIX : missing "$this->id" in "fetch" function
This commit is contained in:
Laurent Destailleur 2019-10-07 12:38:05 +02:00 committed by GitHub
commit 611b045676
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;