Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Statement decorator fetchColumn() fix.
  • Loading branch information
Eugene Ritter committed Apr 4, 2018
1 parent a93b0ff commit d1cdee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Statement/StatementDecorator.php
Expand Up @@ -228,7 +228,7 @@ public function fetchAssoc()
*/
public function fetchColumn($position)
{
$result = $this->_statement->fetch(static::FETCH_TYPE_NUM);
$result = $this->fetch(static::FETCH_TYPE_NUM);
if (isset($result[$position])) {
return $result[$position];
};
Expand Down

0 comments on commit d1cdee7

Please sign in to comment.