Commit c5e7533e authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix mysqli Fetch Column

parent 9c955424
...@@ -267,7 +267,7 @@ class MysqliStatement implements \IteratorAggregate, Statement ...@@ -267,7 +267,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
{ {
$row = $this->fetch(PDO::FETCH_NUM); $row = $this->fetch(PDO::FETCH_NUM);
if (null === $row) { if (null === $row) {
return null; return false;
} }
return $row[$columnIndex]; return $row[$columnIndex];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment