Commit ed4594a9 authored by Alexander Butenko's avatar Alexander Butenko

Reset count on each result fetching

parent 179cde2d
......@@ -644,6 +644,7 @@ class MysqliDb
call_user_func_array(array($stmt, 'bind_result'), $parameters);
$this->count = 0;
while ($stmt->fetch()) {
$x = array();
foreach ($row as $key => $val) {
......
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