more notif crash fixes

This commit is contained in:
Julian Lam
2015-12-23 09:50:30 -05:00
parent 94d8671447
commit d9125c215c

View File

@@ -396,7 +396,7 @@ var async = require('async'),
// Filter out duplicates
notifications = notifications.filter(function(notifObj, idx) {
if (!notifObj.mergeId) {
if (!notifObj || !notifObj.mergeId) {
return true;
}