不要怂,就是干,撸起袖子干!

Commit 8e2517fb by Sushant

fix(query): undefined data in _groupJoinData #9141

1 parent 07092263
Showing with 2 additions and 2 deletions
...@@ -613,10 +613,10 @@ class AbstractQuery { ...@@ -613,10 +613,10 @@ class AbstractQuery {
length = $keyPrefix.length; length = $keyPrefix.length;
if (length) { if (length) {
for (i = 0; i < length; i++) { for (i = 0; i < length; i++) {
if (i === length -1) { if (i === length - 1) {
values = $current[$keyPrefix[i]] = {}; values = $current[$keyPrefix[i]] = {};
} }
$current = $current[$keyPrefix[i]]; $current = $current[$keyPrefix[i]] || {};
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!