crash fix

v1.18.x
barisusakli 11 years ago
parent fdf19f9025
commit d67cd489cd

@ -254,7 +254,7 @@ var async = require('async'),
}
notifications = notifications.filter(function(notification) {
return !!notification || notification[field] !== value.toString();
return notification && notification[field] !== value.toString();
}).map(function(notification) {
return notification.nid;
});

Loading…
Cancel
Save