mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	Merge branch 'master' of https://github.com/designcreateplay/NodeBB
This commit is contained in:
		| @@ -600,7 +600,7 @@ process.on('uncaughtException', function(err) { | ||||
| 						var start = (page - 1) * settings.topicsPerPage, | ||||
| 							end = start + settings.topicsPerPage - 1; | ||||
|  | ||||
| 						topics.getTopicWithPosts(tid, uid, start, end, true, function (err, topicData) { | ||||
| 						topics.getTopicWithPosts(tid, uid, start, end, function (err, topicData) { | ||||
| 							if (topicData) { | ||||
| 								if (parseInt(topicData.deleted, 10) === 1 && parseInt(topicData.expose_tools, 10) === 0) { | ||||
| 									return next(new Error('Topic deleted'), null); | ||||
| @@ -646,7 +646,7 @@ process.on('uncaughtException', function(err) { | ||||
| 						metaTags: [ | ||||
| 							{ | ||||
| 								name: "title", | ||||
| 								content: topicData.topic_name | ||||
| 								content: topicData.title | ||||
| 							}, | ||||
| 							{ | ||||
| 								name: "description", | ||||
| @@ -654,7 +654,7 @@ process.on('uncaughtException', function(err) { | ||||
| 							}, | ||||
| 							{ | ||||
| 								property: 'og:title', | ||||
| 								content: topicData.topic_name | ||||
| 								content: topicData.title | ||||
| 							}, | ||||
| 							{ | ||||
| 								property: 'og:description', | ||||
| @@ -686,7 +686,7 @@ process.on('uncaughtException', function(err) { | ||||
| 							}, | ||||
| 							{ | ||||
| 								property: 'article:section', | ||||
| 								content: topicData.category_name | ||||
| 								content: topicData.category.name | ||||
| 							} | ||||
| 						], | ||||
| 						linkTags: [ | ||||
| @@ -697,7 +697,7 @@ process.on('uncaughtException', function(err) { | ||||
| 							}, | ||||
| 							{ | ||||
| 								rel: 'up', | ||||
| 								href: nconf.get('url') + '/category/' + topicData.category_slug | ||||
| 								href: nconf.get('url') + '/category/' + topicData.category.slug | ||||
| 							} | ||||
| 						] | ||||
| 					}, function (err, header) { | ||||
| @@ -787,15 +787,15 @@ process.on('uncaughtException', function(err) { | ||||
| 						metaTags: [ | ||||
| 							{ | ||||
| 								name: 'title', | ||||
| 								content: categoryData.category_name | ||||
| 								content: categoryData.name | ||||
| 							}, | ||||
| 							{ | ||||
| 								property: 'og:title', | ||||
| 								content: categoryData.category_name | ||||
| 								content: categoryData.name | ||||
| 							}, | ||||
| 							{ | ||||
| 								name: 'description', | ||||
| 								content: categoryData.category_description | ||||
| 								content: categoryData.description | ||||
| 							}, | ||||
| 							{ | ||||
| 								property: "og:type", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user