Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:Gigzolo/dataobject-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
henrytseng committed May 17, 2017
2 parents f0e16b6 + df16685 commit ef0c158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/dataobject-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ DataObjectParser.prototype.data = function($data) {
DataObjectParser.transpose = function($flat) {
var parser = (new DataObjectParser());
for(var n in $flat) {
if($flat[n]) {
if($flat[n]!==undefined) {
parser.set(n, $flat[n]);
}
}
Expand Down

0 comments on commit ef0c158

Please sign in to comment.