fix crash in topic move

v1.18.x
barisusakli 11 years ago
parent ae72d8ab7e
commit a9adfe9428

@ -77,7 +77,9 @@ module.exports = function(Categories) {
db.incrObjectFieldBy('category:' + newCid, 'post_count', postCount, next);
}
], function(err) {
winston.error(err.message);
if (err) {
winston.error(err.message);
}
});
});
}

Loading…
Cancel
Save