This commit is contained in:
Baris Soner Usakli
2013-12-12 12:19:03 -05:00
parent 1abfe5de63
commit 885242018f

View File

@@ -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;