Avoid warnings
This commit is contained in:
parent
694eef9386
commit
cf1d269f15
@ -2157,13 +2157,13 @@ class Product extends CommonObject
|
|||||||
'fullpath' => $compl_path.$label, // Label
|
'fullpath' => $compl_path.$label, // Label
|
||||||
'type'=>$type // Nb of units that compose parent product
|
'type'=>$type // Nb of units that compose parent product
|
||||||
);
|
);
|
||||||
}
|
|
||||||
|
|
||||||
// Recursive call if child is an array
|
// Recursive call if child is an array
|
||||||
if (is_array($desc_pere['childs']))
|
if (is_array($desc_pere['childs']))
|
||||||
{
|
{
|
||||||
//print 'YYY We go down for '.$desc_pere[3]." -> \n";
|
//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);
|
$this ->fetch_prod_arbo($desc_pere['childs'], $compl_path.$desc_pere[3]." -> ", $desc_pere[1]*$multiply, $level+1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user