]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/sparkline.pm
meta plugin: if uuid looks like it is in fact a UUID, prepend "urn:uuid" (otherwise...
[git.ikiwiki.info.git] / IkiWiki / Plugin / sparkline.pm
index 0b9ddd8d2460e8ea175a603e710f77ca4589e9e0..69b3512c27e708d1155fab842e76b46b7dbff9f5 100644 (file)
@@ -114,10 +114,10 @@ sub preprocess (@) { #{{{
        # the base for its filename.
        eval q{use Digest::SHA1};
         error($@) if $@;
        # the base for its filename.
        eval q{use Digest::SHA1};
         error($@) if $@;
-       my $fn=$params{destpage}."/sparkline-".
+       my $fn=$params{page}."/sparkline-".
                IkiWiki::possibly_foolish_untaint(Digest::SHA1::sha1_hex($php)).
                ".png";
                IkiWiki::possibly_foolish_untaint(Digest::SHA1::sha1_hex($php)).
                ".png";
-       will_render($params{destpage}, $fn);
+       will_render($params{page}, $fn);
 
        if (! -e "$config{destdir}/$fn") {
                my $pid;
 
        if (! -e "$config{destdir}/$fn") {
                my $pid;