diff options
author | Eric Wong <e@80x24.org> | 2016-06-20 07:22:23 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-20 07:22:52 +0000 |
commit | 89c33eadfd78b2aacd3e4924cc62a7e3402c35e8 (patch) | |
tree | c1609e5f543a8ba7db5217615a8870bd9193f620 /lib/PublicInbox/SearchMsg.pm | |
parent | c70cc0c804f94127b7eb4448d796f4c1b3f6dd6f (diff) | |
download | public-inbox-89c33eadfd78b2aacd3e4924cc62a7e3402c35e8.tar.gz |
This should help avoid having too many fake top-level messages in the topic view since we only have a partial window for threading results.
Diffstat (limited to 'lib/PublicInbox/SearchMsg.pm')
-rw-r--r-- | lib/PublicInbox/SearchMsg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/SearchMsg.pm index 28c2037b..d41d2439 100644 --- a/lib/PublicInbox/SearchMsg.pm +++ b/lib/PublicInbox/SearchMsg.pm @@ -35,7 +35,7 @@ sub get_val ($$) { sub load_doc { my ($class, $doc) = @_; - my $data = $doc->get_data; + my $data = $doc->get_data or return; my $ts = get_val($doc, &PublicInbox::Search::TS); utf8::decode($data); my ($subj, $from, $refs, $to, $cc) = split(/\n/, $data); |