From 8efb930ec0adde721052d83c5ef96404de057b79 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 26 May 2014 18:43:32 -0400 Subject: [PATCH] site title fallbacks for daily digest titles --- src/user/jobs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/jobs.js b/src/user/jobs.js index d522a8097b..1d9b70f27e 100644 --- a/src/user/jobs.js +++ b/src/user/jobs.js @@ -74,7 +74,7 @@ module.exports = function(User) { subject: '[' + meta.config.title + '] Daily Digest for ' + now.getFullYear()+ '/' + (now.getMonth()+1) + '/' + now.getDate(), username: userObj.username, url: nconf.get('url'), - site_title: meta.config.title, + site_title: meta.config.title | meta.config.browserTitle | 'NodeBB', notifications: notifications, recent: data.recent.topics });