Skip to content

Commit

Permalink
FIX: PostgreSQLQuery::seek() returning indexed array instead of assoc…
Browse files Browse the repository at this point in the history
…iative
  • Loading branch information
kinglozzer committed Jan 13, 2017
1 parent 33e97cc commit b5214de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/PostgreSQLQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __destruct()
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()
Expand Down

0 comments on commit b5214de

Please sign in to comment.