diff --git a/proxy/topic.js b/proxy/topic.js index a0c617f..ad5540a 100644 --- a/proxy/topic.js +++ b/proxy/topic.js @@ -36,7 +36,7 @@ exports.getTopicById = function (id, callback) { if (topic.last_reply) { Reply.getReplyById(topic.last_reply, proxy.done(function (last_reply) { - proxy.emit('last_reply', last_reply || null); + proxy.emit('last_reply', last_reply); })); } else { proxy.emit('last_reply', null); diff --git a/views/reply/reply.html b/views/reply/reply.html index cb9436e..07e8cd1 100644 --- a/views/reply/reply.html +++ b/views/reply/reply.html @@ -7,7 +7,7 @@