From 08130e80882425b4b30b7f384424969765180640 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Fri, 11 Oct 2013 17:18:17 -0400 Subject: [PATCH] fixed conditional in follower/following count --- src/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/user.js b/src/user.js index 78bf86f279..4b267457e1 100644 --- a/src/user.js +++ b/src/user.js @@ -533,7 +533,7 @@ var utils = require('./../public/src/utils.js'), console.log(err); } else { userIds = userIds.filter(function(value) { - return value === '0'; + return value !== '0'; }); callback(userIds.length); } @@ -546,7 +546,7 @@ var utils = require('./../public/src/utils.js'), console.log(err); } else { userIds = userIds.filter(function(value) { - return value === '0'; + return value !== '0'; }); callback(userIds.length); }