Skip to content
Permalink
Browse files

Statement decorator fetchColumn() fix.

  • Loading branch information...
T0mats0 committed Apr 4, 2018
1 parent a93b0ff commit d1cdee7c2f6cbf93e3c90aa7b47c3ee9e71c9a6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/Statement/StatementDecorator.php
@@ -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];
};

0 comments on commit d1cdee7

Please sign in to comment.
You can’t perform that action at this time.