diff --git a/src/notifications.js b/src/notifications.js index f32ca031d3..8e90e0d62f 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -450,7 +450,7 @@ var async = require('async'), }); var numUsers = usernames.length; - var title = S(notifications[modifyIndex].topicTitle).decodeHTMLEntities().s; + var title = S(notifications[modifyIndex].topicTitle || '').decodeHTMLEntities().s; var titleEscaped = title.replace(/%/g, '%').replace(/,/g, ','); if (numUsers === 2) {