From 9d4f1e18e15538e2aa33d2f522b6a92ba24038d1 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 13 Jun 2014 15:58:32 -0400 Subject: [PATCH] #1688 removed length check --- src/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics.js b/src/topics.js index 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;