X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/59ba938822ba0752e8d97e769c0d14f2eb0bbeb3..adc196a8b53c0b0b4f9ec4cbcea85ba37e421b59:/IkiWiki/Plugin/template.pm diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm index 36282055a..98a13b5fa 100644 --- a/IkiWiki/Plugin/template.pm +++ b/IkiWiki/Plugin/template.pm @@ -42,7 +42,7 @@ sub preprocess (@) { $template_file=srcfile($pagesources{$template_page}); } else { - $template_file=template_file("$params{id}.tmpl") + $template_file=IkiWiki::template_file("$params{id}.tmpl") } return sprintf(gettext("template %s not found"), htmllink($params{page}, $params{destpage}, "/".$template_page))