Skip to content

Commit

Permalink
Fix issue in getObjectValueByPath
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwirz authored Sep 24, 2021
1 parent b616b7c commit f40d137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/fieldmapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ iq_progressive_decoupler_FieldMapper = function (item, mapping) {
var a = s.split('.');
for (var i = 0, n = a.length; i < n; ++i) {
var k = a[i];
if (k in o) {
if (k && o && k in o) {
o = o[k];
} else {
return;
Expand Down

0 comments on commit f40d137

Please sign in to comment.