From e62edc0a729fb168e793189ba872b51ec2dee325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Wed, 23 Apr 2014 11:18:15 +0200 Subject: [PATCH] Fix undeclared variable --- htdocs/core/class/link.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/link.class.php b/htdocs/core/class/link.class.php index 8100d526718..08d520d519e 100644 --- a/htdocs/core/class/link.class.php +++ b/htdocs/core/class/link.class.php @@ -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);