aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2012-04-06 16:20:19 +0100
committerSimon McVittie <smcv@debian.org>2012-04-09 17:01:23 +0100
commit3128409c06ea865190af2f8a2097d361f122171d (patch)
tree5f99d09532ff954840e09d7d9e2348ff582c0306 /IkiWiki
parentcf7eac5fe78e8403bd7947166e3ef311d0276e79 (diff)
downloadikiwiki-3128409c06ea865190af2f8a2097d361f122171d.tar
ikiwiki-3128409c06ea865190af2f8a2097d361f122171d.tar.gz
trail: delete the right state
At some point I changed the storage of trail members' membership and forgot to update this use. (It turns out to be rather difficult to reach this code, possibly even impossible: it only applies if a member somehow ceases to match the trail's pagespec without either the trail or the member changing.)
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/trail.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/trail.pm b/IkiWiki/Plugin/trail.pm
index 34a2ca5b6..7d2338f9b 100644
--- a/IkiWiki/Plugin/trail.pm
+++ b/IkiWiki/Plugin/trail.pm
@@ -335,7 +335,7 @@ sub prerender {
if (exists $pagestate{$member}{trail}{item} &&
! exists $member_to_trails{$member}) {
$rebuild_trail_members{$member} = 1;
- delete $pagestate{$member}{trailitem};
+ delete $pagestate{$member}{trail}{item};
}
}