mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
one more
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user