]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/graphviz.pm
comment: Don't show comments of subpages on parent pages. (Fixes bug introduced in...
[git.ikiwiki.info.git] / IkiWiki / Plugin / graphviz.pm
index dfd66a03e2250723132caa75c2f9d5da2e2c4fc2..4ed8b89f165847832762408c05b0abedc21aaf6c 100644 (file)
@@ -37,10 +37,10 @@ sub render_graph (\%) {
        $src .= "}\n";
 
        # Use the sha1 of the graphviz code as part of its filename.
-       eval q{use Digest::SHA1};
+       eval q{use Digest::SHA};
        error($@) if $@;
        my $dest=$params{page}."/graph-".
-               IkiWiki::possibly_foolish_untaint(Digest::SHA1::sha1_hex($src)).
+               IkiWiki::possibly_foolish_untaint(Digest::SHA::sha1_hex($src)).
                ".png";
        will_render($params{page}, $dest);