mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	small fixes to search
This commit is contained in:
		| @@ -70,7 +70,7 @@ var RDB = require('./redis.js'), | ||||
| 					Posts.getPostFields(pid, ['pid', 'tid', 'content', 'uid', 'timestamp', 'deleted'], function(postData) { | ||||
| 						if (postData.deleted === '1') return callback(null); | ||||
| 						else { | ||||
| 							postData.relativeTime = new Date(parseInt(postData.timestamp, 10)).toISOString(); | ||||
| 							postData.relativeTime = new Date(parseInt(postData.timestamp || 0, 10)).toISOString(); | ||||
| 							next(null, postData); | ||||
| 						} | ||||
| 					}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user