]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: avoid broken parent link in per-message view
authorEric Wong <e@80x24.org>
Sun, 30 Aug 2015 10:08:30 +0000 (10:08 +0000)
committerEric Wong <e@80x24.org>
Sun, 30 Aug 2015 10:08:30 +0000 (10:08 +0000)
Broken by commit f24d362fb0959cdfab37a6da0a66a985764a2752
("view: display thread outline in single-message view")

lib/PublicInbox/View.pm

index 3ee67902ca25a54ae4f83ef1ca6d6781dc7fd8c4..584a2d701e118d97d16fe186362528f22931d18a 100644 (file)
@@ -468,6 +468,7 @@ sub html_footer {
        my $idx = $standalone ? " <a\nhref=\"../../\">index</a>" : '';
        if ($idx && $srch) {
                my $next = thread_inline(\$idx, $ctx, $mime);
+               $irt = $mime->header('In-Reply-To');
                if (defined $irt) {
                        $irt = PublicInbox::Hval->new_msgid($irt);
                        $irt = $irt->as_href;