]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Smsg.pm
www_stream: extra link to mirroring information in the footer
[public-inbox.git] / lib / PublicInbox / Smsg.pm
index b4cc2ecb1afe6e4b2a224138cb39a6eff8bdca18..da8ce590991a3e40522bcab2bc0c561d5aa5683f 100644 (file)
@@ -76,7 +76,7 @@ sub parse_references ($$$) {
        return $refs if scalar(@$refs) == 0;
 
        # prevent circular references here:
-       my %seen = ( $smsg->{mid} => 1 );
+       my %seen = ( ($smsg->{mid} // '') => 1 );
        my @keep;
        foreach my $ref (@$refs) {
                if (length($ref) > PublicInbox::MID::MAX_MID_SIZE) {