Fix error reporting in getLinesArray()

This commit is contained in:
Aloïs Micard 2022-04-27 17:56:31 +02:00
parent 6bbf4ccaaf
commit fb7f0545e4

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;