]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/conditional.pm
web commit by JoshTriplett: XPath conditionals?
[ikiwiki.git] / IkiWiki / Plugin / conditional.pm
index 6c14361f7d2b39df373d0e7fda25bab8946fa23f..2a25135fe31757ed06c21f211bab6a7d2ea79414 100644 (file)
@@ -56,7 +56,7 @@ sub preprocess_if (@) { #{{{
                $ret="";
        }
        return IkiWiki::preprocess($params{page}, $params{destpage}, 
-               IkiWiki::filter($params{page}, $ret));
+               IkiWiki::filter($params{page}, $params{destpage}, $ret));
 } # }}}
 
 package IkiWiki::PageSpec;
@@ -102,7 +102,7 @@ sub match_destpage ($$;@) { #{{{
        }
 } #}}}
 
-sub match_included ($$;$) { #{{{
+sub match_included ($$;@) { #{{{
        shift;
        shift;
        my %params=@_;