check value

v1.18.x
barisusakli 11 years ago
parent 4c70a0da4f
commit c72c876b04

@ -287,6 +287,9 @@ module.exports = function(db, module) {
}
var result = values.map(function(value) {
if (!value) {
return null;
}
var index = sortedSet.indexOf(value.toString());
return index !== -1 ? index : null;
});

Loading…
Cancel
Save