]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/postsparkline.pm
change how dependency types are specified to add_depends
[git.ikiwiki.info.git] / IkiWiki / Plugin / postsparkline.pm
index 694d3957562e2d69d017a16470aa08bd028f62ce..ea73e9180e945f8c95794c91eec93a9202cf7694 100644 (file)
@@ -48,7 +48,7 @@ sub preprocess (@) {
                error gettext("unknown formula");
        }
 
-       add_depends($params{page}, $params{pages}, content => 0);
+       add_depends($params{page}, $params{pages}, deptype("presence"));
 
        my @list=sort { $params{timehash}->{$b} <=> $params{timehash}->{$a} } 
                pagespec_match_list(