From f38ab469289f4b58255f23c020f54a591c65bf6a Mon Sep 17 00:00:00 2001 From: Cedric <c.gross@kreiz-it.fr> Date: Tue, 15 Jul 2014 19:02:43 +0200 Subject: [PATCH] correction typo --- htdocs/product/class/product.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index cc824bce3c6..7a77f308509 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -591,7 +591,7 @@ class Product extends CommonObject { if (empty($this->oldcopy)) { - $org=new self($db); + $org=new self($this->db); $org->fetch($this->id); $this->oldcopy=$org; } -- GitLab