From f73e6eb4a1454a6235357b0070d68323551bc006 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 19 Dec 2015 19:10:03 +0200 Subject: [PATCH] fix related --- src/topics/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics/tags.js b/src/topics/tags.js index d816d5c49c..48ef3dba41 100644 --- a/src/topics/tags.js +++ b/src/topics/tags.js @@ -330,7 +330,7 @@ module.exports = function(Topics) { var maximumTopics = parseInt(meta.config.maximumRelatedTopics, 10) || 5; if (!topicData.tags.length || maximumTopics === 0) { - return callback(null, topicData); + return callback(null, []); } async.waterfall([