From f36080ae026d630c180e4a73709d09ca779a0c2e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 16 Oct 2008 18:20:16 -0400 Subject: aggregate: Avoid bug that caused immediate expiration of items with a date in the future. --- IkiWiki/Plugin/aggregate.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 26c5cc9ae..c18784e8b 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -625,6 +625,10 @@ sub add_page (@) { #{{{ # Store it in pagectime for expiry code to use also. $IkiWiki::pagectime{$guid->{page}}=$mtime; } + else { + # Dummy value for expiry code. + $IkiWiki::pagectime{$guid->{page}}=time; + } } #}}} sub htmlescape ($) { #{{{ -- cgit v1.2.3