Skip to content

Node.js based forum software built for the modern web

one more

Baris Soner Usakli885242018f8d
diff --git a/src/posts.js b/src/posts.js
index dcb53d6379..6beabd964f 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -230,7 +230,7 @@ var db = require('./database'),
if (post.editor !== '') {
user.getUserFields(post.editor, ['username', 'userslug'], function(err, editorData) {
if (err) {
- return callback();
+ return callback(err);
}
post.editorname = editorData.username;