From 3128409c06ea865190af2f8a2097d361f122171d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 6 Apr 2012 16:20:19 +0100 Subject: 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.) --- IkiWiki/Plugin/trail.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') 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}; } } -- cgit v1.2.3