Node.js based forum software built for the modern web
calololback
psychobunnyf609b1e45d46
diff --git a/src/topics.js b/src/topics.jsindex f5fe901c59..99a1c6b761 100644--- a/src/topics.js+++ b/src/topics.js@@ -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);});};