Skip to content

Commit 058bb6a

Browse files
author
micha
committed
fixes #1
1 parent a7d0fd4 commit 058bb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySQLiBase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function query($sql, array $params = []) {
239239
$dupcounter[$field->name]++;
240240
}
241241

242-
call_user_func_array([$stmt, 'bind_result'], $fields);
242+
call_user_func_array([$stmt, 'bind_result'], array_values($fields));
243243

244244
$i = 0;
245245
while ($stmt->fetch()) {

0 commit comments

Comments
 (0)