bugfix
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 8 Oct 2009 02:08:19 +0000 (22:08 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 8 Oct 2009 02:08:19 +0000 (22:08 -0400)
IkiWiki.pm

index 39a43ddbec4854261fafff1c9e12021b9e45db3e..c250d50adfc6e73fafde2df3f0c35ec97136a389 100644 (file)
@@ -1795,6 +1795,7 @@ sub add_depends ($$;@) {
        return if $@;
        foreach my $p (keys %pagesources) {
                my $r=$sub->($p, location => $page );
+               next unless $r;
                my %i=$r->influences;
                foreach my $i (keys %i) {
                        $depends_simple{$page}{lc $i} |= $i{$i};