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))
|
if (is_numeric($result))
|
||||||
{
|
{
|
||||||
$this->error = $this->error;
|
$this->error = $objectline->error;
|
||||||
$this->errors = $this->errors;
|
$this->errors = $objectline->errors;
|
||||||
return $result;
|
return $result;
|
||||||
} else {
|
} else {
|
||||||
$this->lines = $result;
|
$this->lines = $result;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user