mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-17 14:00:29 +01:00
closes #3789
This commit is contained in:
@@ -98,7 +98,7 @@ var async = require('async'),
|
|||||||
}
|
}
|
||||||
|
|
||||||
for(var i=0; i<notifications.length; ++i) {
|
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;
|
notifications[i].image = nconf.get('url') + notifications[i].image;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user