diff --git a/module/mail/js/browse.ui.js b/module/mail/js/browse.ui.js index d48341f30c..780bee68eb 100644 --- a/module/mail/js/browse.ui.js +++ b/module/mail/js/browse.ui.js @@ -21,7 +21,7 @@ window.renderCell = function(result, info) const mail = info.row.data; if(!mail.failReason?.length) return result; - let failReason = mail.failReason.replaceAll('
', ''); + let failReason = mail.failReason?.replaceAll('
', '') ?? ''; let html = "" + failReason.replaceAll("\n", '') + " "; return [{html: html}]; }