mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
Merge pull request #61 from kinglozzer/fix-seek-pt2
FIX: PostgreSQLQuery::seek() returning indexed array instead of associative
This commit is contained in:
commit
a0b9010b90
@ -37,7 +37,7 @@ class PostgreSQLQuery extends Query
|
||||
public function seek($row)
|
||||
{
|
||||
pg_result_seek($this->handle, $row);
|
||||
return pg_fetch_row($this->handle);
|
||||
return pg_fetch_assoc($this->handle);
|
||||
}
|
||||
|
||||
public function numRecords()
|
||||
|
Loading…
Reference in New Issue
Block a user