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/pagestats.pm | |
parent | 299bb8bef3811b16d29a0e8ebb2c292c8dd11020 (diff) | |
download | ikiwiki-782e4d48dffc698903d93a7024defc874854f778.tar ikiwiki-782e4d48dffc698903d93a7024defc874854f778.tar.gz |
fix %links iteration
Diffstat (limited to 'IkiWiki/Plugin/pagestats.pm')
-rw-r--r-- | IkiWiki/Plugin/pagestats.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/pagestats.pm b/IkiWiki/Plugin/pagestats.pm index 1d4d5ecdf..a1b4c1d45 100644 --- a/IkiWiki/Plugin/pagestats.pm +++ b/IkiWiki/Plugin/pagestats.pm @@ -33,7 +33,7 @@ sub preprocess (@) { #{{{ my %counts; my $max = 0; - foreach my $page (%IkiWiki::links) { + foreach my $page (keys %IkiWiki::links) { if (IkiWiki::globlist_match($page, $params{pages})) { my @bl = IkiWiki::backlinks($page); $counts{$page} = scalar(@bl); |