FIX: PostgreSQLQuery::seek() returning indexed array instead of associative

This commit is contained in:
Loz Calver 2017-01-13 11:04:01 +00:00
parent 33e97cc49f
commit b5214def7c

View File

@ -37,7 +37,7 @@ class PostgreSQLQuery extends Query
public function seek($row) public function seek($row)
{ {
pg_result_seek($this->handle, $row); pg_result_seek($this->handle, $row);
return pg_fetch_row($this->handle); return pg_fetch_assoc($this->handle);
} }
public function numRecords() public function numRecords()