summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-16 18:20:16 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-16 18:20:16 -0400
commitf36080ae026d630c180e4a73709d09ca779a0c2e (patch)
tree0b491e948c1dbdbe5a3e2af3465f2a027e89d991 /IkiWiki
parent798a601395158ba214a1bb4d803f6670e4ed19e3 (diff)
aggregate: Avoid bug that caused immediate expiration of items with a date in the future.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/aggregate.pm4
1 files changed, 4 insertions, 0 deletions
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 ($) { #{{{