mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
fixed undefined next
This commit is contained in:
@@ -279,7 +279,7 @@ middleware.renderHeader = function(req, res, callback) {
|
||||
}
|
||||
}, function(err, results) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
templateValues.browserTitle = results.title;
|
||||
|
||||
Reference in New Issue
Block a user