]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/trail.pm
git: do not fail to commit if committer is anonymous
[git.ikiwiki.info.git] / IkiWiki / Plugin / trail.pm
index 34a2ca5b681f3a81f985cf0ec5fbad363b1abc46..7d2338f9b9c7bd0dee446b1f0d7b60b80417fb90 100644 (file)
@@ -335,7 +335,7 @@ sub prerender {
                if (exists $pagestate{$member}{trail}{item} &&
                        ! exists $member_to_trails{$member}) {
                        $rebuild_trail_members{$member} = 1;
                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};
                }
        }
 
                }
        }