summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-07 22:08:19 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-07 22:08:19 -0400
commit0cb08c9a4b558c3a0a13c5652b0e0a37ae548199 (patch)
treeb80bfa159661d5d93272dbd0fee6f5b0e4d2fd79
parent957ded9d64ca6abf0127c5c49e24177685bac5ae (diff)
bugfix
-rw-r--r--IkiWiki.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 39a43ddbe..c250d50ad 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -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};