mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX: MySQLQuery::seek() failed to return a row
This commit is contained in:
parent
9ee3be9337
commit
30d125f144
@ -39,7 +39,8 @@ class MySQLQuery extends Query
|
|||||||
public function seek($row)
|
public function seek($row)
|
||||||
{
|
{
|
||||||
if (is_object($this->handle)) {
|
if (is_object($this->handle)) {
|
||||||
return $this->handle->data_seek($row);
|
$this->handle->data_seek($row);
|
||||||
|
return $this->handle->fetch_assoc();
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user