We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df1b0b9 commit 28360fbCopy full SHA for 28360fb
MysqliDb.php
@@ -960,8 +960,13 @@ protected function _dynamicBindResults(mysqli_stmt $stmt)
960
}
961
} else {
962
$x = array();
963
- foreach ($row as $key => $val)
964
- $x[$key] = $val;
+ foreach ($row as $key => $val) {
+ if (is_array($val)) {
965
+ foreach ($val as $k => $v)
966
+ $x[$key][$k] = $v;
967
+ } else
968
+ $x[$key] = $val;
969
+ }
970
971
$this->count++;
972
array_push ($results, $x);
0 commit comments