Commit 28360fb7 authored by Bless's avatar Bless

bug fixed when using nestedJoin

parent df1b0b90
...@@ -960,8 +960,13 @@ class MysqliDb ...@@ -960,8 +960,13 @@ class MysqliDb
} }
} else { } else {
$x = array(); $x = array();
foreach ($row as $key => $val) foreach ($row as $key => $val) {
$x[$key] = $val; if (is_array($val)) {
foreach ($val as $k => $v)
$x[$key][$k] = $v;
} else
$x[$key] = $val;
}
} }
$this->count++; $this->count++;
array_push ($results, $x); array_push ($results, $x);
......
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