]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 30 Jul 2006 07:17:44 +0000 (07:17 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 30 Jul 2006 07:17:44 +0000 (07:17 +0000)
IkiWiki/Plugin/aggregate.pm

index d59f84450b797c4f55158c6587e1fce7f8edb7c8..c42884851d36da06a2977267ccf4201a51ac9e56 100644 (file)
@@ -253,6 +253,7 @@ sub add_page (@) { #{{{
 
                # assign it an unused page
                my $page=$feed->{dir}."/".IkiWiki::titlepage($params{title});
+               $page=lc($page);
                ($page)=$page=~/$IkiWiki::config{wiki_file_regexp}/;
                if (! defined $page || ! length $page) {
                        $page=$feed->{dir}."/item";
@@ -310,7 +311,7 @@ sub remove_feeds () { #{{{
 } #}}}
 
 sub pagefile ($) { #{{{
-       my $page=lc(shift);
+       my $page=shift;
 
        return "$IkiWiki::config{srcdir}/$page.html";
 } #}}}