mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
updated getTopicWithPosts to use a start and end option, and fixed issue with RSS feed saving (issue #256)
This commit is contained in:
@@ -225,7 +225,7 @@ var express = require('express'),
|
||||
|
||||
async.waterfall([
|
||||
function(next) {
|
||||
topics.getTopicWithPosts(tid, ((req.user) ? req.user.uid : 0), function(err, topicData) {
|
||||
topics.getTopicWithPosts(tid, ((req.user) ? req.user.uid : 0), 0, -1, function(err, topicData) {
|
||||
if(topicData) {
|
||||
if(topicData.deleted === '1' && topicData.expose_tools === 0)
|
||||
return next(new Error('Topic deleted'), null);
|
||||
|
||||
Reference in New Issue
Block a user