typo
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 6 Oct 2009 22:45:22 +0000 (18:45 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 6 Oct 2009 22:45:22 +0000 (18:45 -0400)
IkiWiki/Render.pm

index 8f9cbf673e481b9e1a291f6b0d58673f895d5917..e28381c3332b848d442ffe943ad0fd86f5b141f6 100644 (file)
@@ -557,7 +557,7 @@ sub render_dependent ($$$$$$$) {
                                my $in=sub {
                                        my $list=shift;
                                        my $type=shift;
-                                       foreach my $file ($list) {
+                                       foreach my $file (@$list) {
                                                next if $file eq $f;
                                                my $page=pagename($file);
                                                if ($sub->($page, location => $p)) {