FIX : return void
This commit is contained in:
parent
c28407a1c9
commit
360bfed601
@ -1161,7 +1161,7 @@ class BOM extends CommonObject
|
|||||||
|
|
||||||
// Protection against infinite loop
|
// Protection against infinite loop
|
||||||
if ($level > 1000) {
|
if ($level > 1000) {
|
||||||
return 0;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(empty($bom_id)) $bom_id=$this->id;
|
if(empty($bom_id)) $bom_id=$this->id;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user