diff --git a/src/database/mongo/sets.js b/src/database/mongo/sets.js index 69dfa020a0..efcb4ff4c8 100644 --- a/src/database/mongo/sets.js +++ b/src/database/mongo/sets.js @@ -96,7 +96,7 @@ module.exports = function(db, module) { module.isSetMember = function(key, value, callback) { if (!key) { - return callback(); + return callback(null, false); } value = helpers.valueToString(value);