Merge pull request #20726 from vold-lu/fixes/lines-array-error-reporting

FIX: ModuileBuilder - Fix getLinesArray() error reporting
This commit is contained in:
Laurent Destailleur 2022-04-29 16:35:16 +02:00 committed by GitHub
commit 7616a55de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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