Merge pull request #20726 from vold-lu/fixes/lines-array-error-reporting
FIX: ModuileBuilder - Fix getLinesArray() error reporting
This commit is contained in:
commit
7616a55de5
@ -937,8 +937,8 @@ class MyObject extends CommonObject
|
||||
|
||||
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