From dfa5d2332a1efbff994cd3b2b483e4759f8f97d5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 8 Apr 2011 16:22:20 +0000 Subject: [PATCH] Works on hook --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 10412b05bfd..974b2e79920 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -1443,7 +1443,7 @@ class CommonObject if (($line->product_type == 9 && ! empty($line->special_code)) || ! empty($line->fk_parent_line)) { - if (empty($line->fk_parent_line)) $this->hooks[$line->special_code]->printObjectLine($this,$line,$num,$i,$dateSelector,$seller,$buyer); + if (empty($line->fk_parent_line)) $this->hooks[$line->special_code]->printObjectLine($this,$line,$var,$num,$i,$dateSelector,$seller,$buyer); } else {