Node.js based forum software built for the modern web
check value
barisusaklic72c876b0499
diff --git a/src/database/mongo/sorted.js b/src/database/mongo/sorted.jsindex 3714f5549d..ab4943c48c 100644--- a/src/database/mongo/sorted.js+++ b/src/database/mongo/sorted.js@@ -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;});