From 0d56cd00ce57aedffc5b8041b5b2e2c61d144d4f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 12 Dec 2019 11:42:10 +0100 Subject: [PATCH] Fix property not defined --- htdocs/mrp/class/mo.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php index 195a3805c32..44b3f4cab4e 100644 --- a/htdocs/mrp/class/mo.class.php +++ b/htdocs/mrp/class/mo.class.php @@ -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)) {