diff --git a/src/notifications.js b/src/notifications.js index ecfbcbd569..b76863e7e5 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -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; }