Merge branch 'cluster' of github.com:NodeBB/NodeBB into cluster

v1.18.x
Julian Lam 11 years ago
commit 0bc9437642

@ -61,7 +61,7 @@ module.exports = function(db, module) {
}
values = values.map(function(value) {
return items && Array.isArray(items.members) && items.members.indexOf(value) !== -1;
return !!(items && Array.isArray(items.members) && items.members.indexOf(value) !== -1);
});
callback(null, values);

Loading…
Cancel
Save