Fix bug in product->get_sousproduits_arbo (#34561)
* Update product.class.php depending on php version used, when var $this->sousprods not correctly declared it'snot filled * Update product.class.php sousprods prop now initialized when declared --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
e6ff31abf1
commit
b940f2eae3
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ class Product extends CommonObject
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
public $sousprods;
|
||||
public $sousprods = array();
|
||||
|
||||
/**
|
||||
* Path of subproducts. Build from ->sousprods with get_arbo_each_prod()
|
||||
|
|
|
|||
Loading…
Reference in a new issue