v1.18.x
Aziz Khoury 11 years ago
parent c7bd27fb3f
commit 65ff72b0e3

@ -141,14 +141,14 @@ module.exports = function(Topics) {
async.waterfall([ async.waterfall([
function(next) { function(next) {
plugins.fireHook('filter:topic.reply', data, function(err, filteredData) { plugins.fireHook('filter:topic.reply', data, function(err, filteredData) {
if (err) { if (err) {
return next(err); return next(err);
} }
content = filteredData.content || data.content; content = filteredData.content || data.content;
next(); next();
}); });
}, },
function(next) { function(next) {
threadTools.exists(tid, next); threadTools.exists(tid, next);

Loading…
Cancel
Save