Fix property not defined

This commit is contained in:
Laurent Destailleur 2019-12-12 11:42:10 +01:00
parent bf1533e7c1
commit 0d56cd00ce

View File

@ -824,7 +824,7 @@ class Mo extends CommonObject
{
foreach ($this->lines as $line)
{
if (is_object($hookmanager) && (($line->product_type == 9 && ! empty($line->special_code)) || ! empty($line->fk_parent_line)))
if (is_object($hookmanager))
{
if (empty($line->fk_parent_line))
{