Skip to content

Commit

Permalink
pass missing param
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Sep 1, 2011
1 parent 9ab40a6 commit 0f24c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schema/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ SchemaArray.prototype.cast = function (value, doc, init) {

return value;
} else {
return this.cast([value], doc);
return this.cast([value], doc, init);
}
};

Expand Down

0 comments on commit 0f24c74

Please sign in to comment.