[FIX] Add fetch_optionnals() to BOMLine for api calls (#28349)
This commit is contained in:
parent
9ef57501a2
commit
1fe93ab55e
1 changed files with 2 additions and 1 deletions
|
|
@ -1945,8 +1945,9 @@ class BOMLine extends CommonObjectLine
|
|||
$num = $this->db->num_rows($resql);
|
||||
|
||||
while ($obj = $this->db->fetch_object($resql)) {
|
||||
$record = new self($this->db);
|
||||
$record = new self($this->db);
|
||||
$record->setVarsFromFetchObj($obj);
|
||||
$record->fetch_optionals();
|
||||
|
||||
$records[$record->id] = $record;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue