diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index c37d92a5b61..b9dd611684a 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -781,7 +781,7 @@ class Product extends CommonObject * * @var array> */ - public $sousprods; + public $sousprods = array(); /** * @var array,entity:CommonObject}> Path of subproducts. Build from ->sousprods with get_arbo_each_prod()