Merge pull request #21102 from jyhere/patch-3
FIX errors in getLinesArray()
This commit is contained in:
commit
6115461b30
@ -958,8 +958,8 @@ class BOM extends CommonObject
|
||||
$result = $objectline->fetchAll('ASC', 'position', 0, 0, array('customsql'=>'fk_bom = '.((int) $this->id)));
|
||||
|
||||
if (is_numeric($result)) {
|
||||
$this->error = $this->error;
|
||||
$this->errors = $this->errors;
|
||||
$this->error = $objectline->error;
|
||||
$this->errors = $objectline->errors;
|
||||
return $result;
|
||||
} else {
|
||||
$this->lines = $result;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user