diff options
-rw-r--r-- | server/notifications/email.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/notifications/email.js b/server/notifications/email.js index 45642c90..d198b8b5 100644 --- a/server/notifications/email.js +++ b/server/notifications/email.js @@ -7,7 +7,7 @@ Meteor.startup(() => { if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`; }); ['timeValue', 'timeOldValue'].forEach(key => { - if (quoteParams[key]) quoteParams[key] = `${params[key]}`; + quoteParams[key] = quoteParams[key] ? `${params[key]}` : ''; }); const lan = user.getLanguage(); |