From 0cfa430444cd2e1fb5c9cea77c50e7478a0faa7f Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 6 Sep 2014 02:46:43 -0400 Subject: [PATCH] crash fix --- src/privileges/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/privileges/posts.js b/src/privileges/posts.js index f58c4e70b1..4a5b02d108 100644 --- a/src/privileges/posts.js +++ b/src/privileges/posts.js @@ -18,7 +18,7 @@ module.exports = function(privileges) { privileges.posts.get = function(pids, uid, callback) { if (pids && pids.length > 50) { var e = new Error('too many keys') - winston.warn('[TOO_MANY_KEYS] ' + pid.length, e.stack); + winston.warn('[TOO_MANY_KEYS] ' + pids.length, e.stack); } async.parallel({ manage_content: function(next) {