From: Joey Hess <joey@gnu.kitenet.net>
Date: Thu, 8 Oct 2009 02:08:19 +0000 (-0400)
Subject: bugfix
X-Git-Tag: 3.20091017~27^2~70
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0cb08c9a4b558c3a0a13c5652b0e0a37ae548199;p=ikiwiki.git

bugfix
---

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