about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index f4e72826..f9081a6d 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -420,7 +420,7 @@ sub html_footer {
 
         my $subj = $mime->header('Subject') || '';
         $subj = "Re: $subj" unless $subj =~ /\bRe:/;
-        my $mid = $mime->header_obj->header('Message-ID');
+        my $mid = $mime->header('Message-ID');
         my $irt = uri_escape_utf8($mid);
         delete $cc{$to};
         $to = uri_escape_utf8($to);
@@ -431,7 +431,7 @@ sub html_footer {
 
         my $idx = $standalone ? " <a\nhref=\"../\">index</a>" : '';
         if ($idx && $srch) {
-                $irt = $mime->header_obj->header('In-Reply-To') || '';
+                $irt = $mime->header('In-Reply-To') || '';
                 $mid = mid_compressed(mid_clean($mid));
                 my $t_anchor = length $irt ? T_ANCHOR : '';
                 $idx = " <a\nhref=\"../t/$mid.html$t_anchor\">".