diff options
author | Eric Wong <e@80x24.org> | 2016-06-21 10:35:37 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-21 10:36:25 +0000 |
commit | 2550582bfa95c8c610f5bdea5a2b2482d27005aa (patch) | |
tree | 0ee8e78a03352af2e53fe1aeee252e5011f4672e | |
parent | 36f62781880dd38b94011f0d351fcf7b0aa2916c (diff) | |
download | public-inbox-2550582bfa95c8c610f5bdea5a2b2482d27005aa.tar.gz |
Showing "(no subject)" seems like a common fallback for messages without a Subject header.
-rw-r--r-- | lib/PublicInbox/View.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index b6fa2a3d..8e81391e 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -353,6 +353,7 @@ sub _msg_html_prepare { $rv .= "$h: $v\n"; } + $title[0] ||= '(no subject)'; $ctx->{-title_html} = join(' - ', @title); $rv .= 'Message-ID: <' . $mid->as_html . '> '; $rv .= "(<a\nhref=\"raw\">raw</a>)\n"; |