Skip to content

Commit cb62ca8

Browse files
committed
empty author
1 parent 507fa1b commit cb62ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/reply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function get_replies_by_topic_id(id, cb) {
241241
if (err) {
242242
return cb(err);
243243
}
244-
replies[i].author = author || {};
244+
replies[i].author = author || { _id: '' };
245245
replies[i].friendly_create_at = Util.format_date(replies[i].create_at, true);
246246
if (replies[i].content_is_html) {
247247
return proxy.emit('reply_find');

0 commit comments

Comments
 (0)