diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-29 20:30:39 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-29 20:30:39 +0000 |
commit | 782e4d48dffc698903d93a7024defc874854f778 (patch) | |
tree | c75dbbedb77e9126e462e9c700462b7630744d54 /IkiWiki/Plugin/brokenlinks.pm | |
parent | 299bb8bef3811b16d29a0e8ebb2c292c8dd11020 (diff) | |
download | ikiwiki-782e4d48dffc698903d93a7024defc874854f778.tar ikiwiki-782e4d48dffc698903d93a7024defc874854f778.tar.gz |
fix %links iteration
Diffstat (limited to 'IkiWiki/Plugin/brokenlinks.pm')
-rw-r--r-- | IkiWiki/Plugin/brokenlinks.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm index 3406f9919..09ce181cf 100644 --- a/IkiWiki/Plugin/brokenlinks.pm +++ b/IkiWiki/Plugin/brokenlinks.pm @@ -20,7 +20,7 @@ sub preprocess (@) { #{{{ IkiWiki::add_depends($params{page}, $params{pages}); my @broken; - foreach my $page (%IkiWiki::links) { + foreach my $page (keys %IkiWiki::links) { if (IkiWiki::globlist_match($page, $params{pages})) { foreach my $link (@{$IkiWiki::links{$page}}) { next if $link =~ /.*\/discussion/i && $IkiWiki::config{discussion}; |