fix null datetime error

v1.18.x
barisusakli 10 years ago
parent f3309e3dd4
commit 283ac1578f

@ -241,7 +241,7 @@ var async = require('async'),
}
var datetimes = notificationData.map(function(notification) {
return notification && notification.datetime;
return (notification && notification.datetime) || Date.now();
});
async.parallel([

Loading…
Cancel
Save