Skip to content

Commit 7d18c89

Browse files
committed
Fixed bug where it would corrupt the value of a dot notation config didn't contain a property.
1 parent 06fdb8c commit 7d18c89

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

v3/src/utils/object/GetObjectValue.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ var GetObjectValue = function (source, key, defaultValue)
2626
}
2727
else
2828
{
29+
// Can't go any further, so reset to default
30+
value = defaultValue;
2931
break;
3032
}
3133
}

0 commit comments

Comments
 (0)