From 0cb08c9a4b558c3a0a13c5652b0e0a37ae548199 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@gnu.kitenet.net>
Date: Wed, 7 Oct 2009 22:08:19 -0400
Subject: [PATCH] bugfix

---
 IkiWiki.pm | 1 +
 1 file changed, 1 insertion(+)

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};
-- 
2.26.2