FIX : return void

This commit is contained in:
Gauthier PC portable 024 2022-09-02 11:57:29 +02:00
parent c28407a1c9
commit 360bfed601

View File

@ -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;