]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
merged the recentchanges branch
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index c3cbbae0553464b9c8d20fab97333c788a7290eb..2a4d10411dab8ac87655e6101f20f7dff1c8bd3f 100644 (file)
@@ -66,7 +66,7 @@ sub needsbuild (@) { #{{{
        loadstate(); # if not already loaded
 
        foreach my $feed (values %feeds) {
-               if (exists $pagesources{$page} && 
+               if (exists $pagesources{$feed->{sourcepage}} && 
                    grep { $_ eq $pagesources{$feed->{sourcepage}} } @$needsbuild) {
                        # Mark all feeds originating on this page as removable;
                        # preprocess will unmark those that still exist.