Skip to content

Commit ed4594a

Browse files
committed
Reset count on each result fetching
1 parent 179cde2 commit ed4594a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MysqliDb.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ protected function _dynamicBindResults(mysqli_stmt $stmt)
644644

645645
call_user_func_array(array($stmt, 'bind_result'), $parameters);
646646

647+
$this->count = 0;
647648
while ($stmt->fetch()) {
648649
$x = array();
649650
foreach ($row as $key => $val) {

0 commit comments

Comments
 (0)