site title fallbacks for daily digest titles

v1.18.x
Julian Lam 11 years ago
parent e685e7c376
commit 8efb930ec0

@ -74,7 +74,7 @@ module.exports = function(User) {
subject: '[' + meta.config.title + '] Daily Digest for ' + now.getFullYear()+ '/' + (now.getMonth()+1) + '/' + now.getDate(), subject: '[' + meta.config.title + '] Daily Digest for ' + now.getFullYear()+ '/' + (now.getMonth()+1) + '/' + now.getDate(),
username: userObj.username, username: userObj.username,
url: nconf.get('url'), url: nconf.get('url'),
site_title: meta.config.title, site_title: meta.config.title | meta.config.browserTitle | 'NodeBB',
notifications: notifications, notifications: notifications,
recent: data.recent.topics recent: data.recent.topics
}); });

Loading…
Cancel
Save