diff options
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); |