From f7a2a4b4d4f1868878e8ad294e9641d8adb51aef Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 2 Apr 2010 16:55:29 -0400 Subject: [PATCH] qualify template_file --- IkiWiki/Plugin/template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5