v1.18.x
barisusakli 9 years ago
parent 0d88d52557
commit 5820a193f6

@ -98,7 +98,7 @@ var async = require('async'),
}
for(var i=0; i<notifications.length; ++i) {
if (notifications[i].image.indexOf('http') !== 0) {
if (notifications[i].image && notifications[i].image.indexOf('http') !== 0) {
notifications[i].image = nconf.get('url') + notifications[i].image;
}
}

Loading…
Cancel
Save