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