fixes crash introduced @1021615848e49da3434f00cfdb6fb79ab5990b47

v1.18.x
psychobunny 11 years ago
parent cf8f0ca225
commit 4397da144f

@ -47,7 +47,7 @@ var path = require('path'),
});
function iterator(category, callback) {
categories.getRecentReplies(category.cid, 2, function (posts) {
categories.getRecentReplies(category.cid, 2, function (err, posts) {
category.posts = posts;
category.post_count = posts.length > 2 ? 2 : posts.length;
callback(null);

Loading…
Cancel
Save