Skip to content

Commit

Permalink
Merge pull request #23 from victorquinn/master
Browse files Browse the repository at this point in the history
Another fix for a crash condition
  • Loading branch information
tsironis committed Feb 25, 2016
2 parents 791a95b + da29855 commit fb6df83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lockr.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
}
if(value === null) {
return missing;
} else if (typeof value.data !== 'undefined') {
} else if (typeof value === 'object' && typeof value.data !== 'undefined') {
return value.data;
} else {
return missing;
Expand Down

0 comments on commit fb6df83

Please sign in to comment.