mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	crash fix
This commit is contained in:
		| @@ -152,7 +152,7 @@ var async = require('async'), | ||||
| 					if (!data || !Array.isArray(data.posts)) { | ||||
| 						return callback(null, []); | ||||
| 					} | ||||
|  | ||||
| 					data.posts = data.posts.filter(Boolean); | ||||
| 					callback(null, data.posts); | ||||
| 				}); | ||||
| 			}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user