summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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};