mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 12:36:02 +01:00 
			
		
		
		
	fix crash in header
This commit is contained in:
		@@ -41,6 +41,7 @@ module.exports = function (middleware) {
 | 
			
		||||
 | 
			
		||||
	middleware.renderHeader = function (req, res, data, callback) {
 | 
			
		||||
		var registrationType = meta.config.registrationType || 'normal';
 | 
			
		||||
		res.locals.config = res.locals.config || {};
 | 
			
		||||
		var templateValues = {
 | 
			
		||||
			title: meta.config.title || '',
 | 
			
		||||
			description: meta.config.description || '',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user