summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/listdirectives.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/listdirectives.pm')
-rw-r--r--IkiWiki/Plugin/listdirectives.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/listdirectives.pm b/IkiWiki/Plugin/listdirectives.pm
index 4023ed7d7..09f08c567 100644
--- a/IkiWiki/Plugin/listdirectives.pm
+++ b/IkiWiki/Plugin/listdirectives.pm
@@ -84,7 +84,7 @@ sub preprocess (@) {
foreach my $plugin (@pluginlist) {
$result .= '<li class="listdirectives">';
my $link=linkpage($config{directive_description_dir}."/".$plugin);
- add_depends($params{page}, $link, presence => 1);
+ add_depends($params{page}, $link, deptype("presence"));
$result .= htmllink($params{page}, $params{destpage}, $link);
$result .= '</li>';
}