Fix error reporting in getLinesArray()
This commit is contained in:
parent
6bbf4ccaaf
commit
fb7f0545e4
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue