Recursive call if there is childs to child
This commit is contained in:
parent
ebe8e34249
commit
f3b3e97d49
@ -4633,7 +4633,7 @@ class Product extends CommonObject
|
||||
);
|
||||
|
||||
// Recursive call if there is childs to child
|
||||
if (is_array($desc_pere['childs'])) {
|
||||
if (isset($desc_pere['childs']) and is_array($desc_pere['childs'])) {
|
||||
//print 'YYY We go down for '.$desc_pere[3]." -> \n";
|
||||
$this->fetch_prod_arbo($desc_pere['childs'], $compl_path.$desc_pere[3]." -> ", $desc_pere[1] * $multiply, $level + 1, $id, $ignore_stock_load);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user