fixed null error with notif grouping

v1.18.x
Julian Lam 9 years ago
parent 05df8900db
commit 9f5815555a

@ -344,6 +344,10 @@ var async = require('async'),
notifications = mergeIds.reduce(function(notifications, mergeId) {
isolated = notifications.filter(function(notifObj) {
if (!notifObj.hasOwnProperty('mergeId')) {
return false;
}
return notifObj.mergeId.split('|')[0] === mergeId;
});

Loading…
Cancel
Save