fix undefined next

v1.18.x
barisusakli 10 years ago
parent a5f63a5ac7
commit b1edc59987

@ -217,7 +217,7 @@ middleware.renderHeader = function(req, res, callback) {
plugins.fireHook('filter:header.build', custom_header, function(err, custom_header) {
if (err) {
return next(err);
return callback(err);
}
var defaultMetaTags = [{

Loading…
Cancel
Save