mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	minor fix to prevent err when trying to mark null nid
This commit is contained in:
		| @@ -92,7 +92,7 @@ var db = require('./database'), | ||||
| 				return callback(err); | ||||
| 			} | ||||
|  | ||||
| 			if (!mids || !mids.length) { | ||||
| 			if (!Array.isArray(mids) || !mids.length) { | ||||
| 				return callback(null, []); | ||||
| 			} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user