Merge remote-tracking branch 'origin/0.5.1' into cluster

v1.18.x
psychobunny 11 years ago
commit baaac66d77

@ -302,7 +302,7 @@ var async = require('async'),
Topics.getMainPost = function(tid, uid, callback) {
Topics.getMainPosts([tid], uid, function(err, mainPosts) {
calllback(err, Array.isArray(mainPosts) && mainPosts.length ? mainPosts[0] : null);
callback(err, Array.isArray(mainPosts) && mainPosts.length ? mainPosts[0] : null);
});
};

Loading…
Cancel
Save