diff options
author | Eric Wong <e@80x24.org> | 2015-10-08 20:08:47 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-10-08 20:08:47 +0000 |
commit | 2d5202a04db9d4c2db5490270e698207dfb918bf (patch) | |
tree | 8ec54f01359bfcfcdad92442a89b45109313ab97 | |
parent | 759efc037728a766ee80f1b0d3c1fd7b8c76a05f (diff) | |
download | public-inbox-2d5202a04db9d4c2db5490270e698207dfb918bf.tar.gz |
Oops, there is no longer a 3rd element. Fixes: 759efc037728a766ee80f1b0d3c1fd7b8c76a05f ("view: remove attribution for topics in top-level view")
-rw-r--r-- | lib/PublicInbox/View.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 534b5539..48c45536 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -825,7 +825,7 @@ sub add_topic { my $ts = $x->header('X-PI-TS'); my $exist = $state->{latest}->{$topic}; - if (!$exist || $exist->[2] < $ts) { + if (!$exist || $exist->[1] < $ts) { $state->{latest}->{$topic} = [ $mid, $ts ]; } } else { |