Node.js based forum software built for the modern web
#1688 removed length check
barisusakli9d4f1e18e155
diff --git a/src/topics.js b/src/topics.jsindex 4ee8a5909f..ed31a33578 100644--- a/src/topics.js+++ b/src/topics.js@@ -297,7 +297,7 @@ var async = require('async'),if (err) {return next(err);}- if (!Array.isArray(postData) || !postData.length || !postData[0]) {+ if (!Array.isArray(postData) || !postData[0]) {return next(null, []);}postData[0].index = 0;