Commit 8666689d authored by 陈家荣's avatar 陈家荣

88

parent 1525dd99
...@@ -1090,8 +1090,8 @@ router.get('/thread/:tid/exportComments', function(req, res, next) { ...@@ -1090,8 +1090,8 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
var floor = comment.floor; var floor = comment.floor;
var time = date_format(comment.created); var time = date_format(comment.created);
var nickName = comment.from.nickName; var nickName = comment.from.nickName || '';
var content = comment.content; var content = comment.content || '';
var praiseCount = comment.praiseCount || 0; var praiseCount = comment.praiseCount || 0;
var praiseNames = ''; var praiseNames = '';
if(comment.praiseNames){ if(comment.praiseNames){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment