Skip to content
Snippets Groups Projects
Commit 0fc33969 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: compatibility with external module and hook

parent 2757038f
No related branches found
No related tags found
No related merge requests found
......@@ -1438,9 +1438,9 @@ class CommonObject
{
$var=!$var;
if ($line->product_type == 9 && ! empty($line->special_code))
if (($line->product_type == 9 && ! empty($line->special_code)) || ! empty($line->fk_parent_line))
{
$this->hooks[$line->special_code]->printObjectLine($this,$line,$num,$i);
if (empty($line->fk_parent_line)) $this->hooks[$line->special_code]->printObjectLine($this,$line,$num,$i);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment