Merge pull request #1546 from GPCsolutions/linkfix

Fix undeclared variable
This commit is contained in:
Laurent Destailleur 2014-04-23 21:13:06 +02:00
commit 5e2c360d38

View File

@ -266,7 +266,7 @@ class Link extends CommonObject
{
while ($obj = $this->db->fetch_object($resql))
{
$link = new Link($db);
$link = new Link($this->db);
$link->id = $obj->rowid;
$link->entity = $obj->entity;
$link->datea = $this->db->jdate($obj->datea);