aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 7348ea2f7..7b1d24c6a 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1810,9 +1810,7 @@ sub add_depends ($$;@) {
}
}
}
- else {
- $deptype=$DEPEND_CONTENT;
- }
+ $deptype=$DEPEND_CONTENT unless $deptype;
if ($simple) {
$depends_simple{$page}{lc $pagespec} |= $deptype;