Fix error reporting in getLinesArray()
This commit is contained in:
parent
6bbf4ccaaf
commit
fb7f0545e4
@ -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