Skip to content

Node.js based forum software built for the modern web

closes #3789

barisusakli5820a193f60b
diff --git a/src/user/digest.js b/src/user/digest.js
index da639fc0b8..f9d4a1092c 100644
--- a/src/user/digest.js
+++ b/src/user/digest.js
@@ -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;
}
}