fixing another null crash

v1.18.x
Julian Lam 10 years ago
parent f73e6eb4a1
commit fe5e5ea8ef

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

Loading…
Cancel
Save