aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/template.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-02 16:55:29 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-02 16:55:29 -0400
commitf7a2a4b4d4f1868878e8ad294e9641d8adb51aef (patch)
tree5795862834d3d38ac1cf86168fe6c9ccc443b606 /IkiWiki/Plugin/template.pm
parent59ba938822ba0752e8d97e769c0d14f2eb0bbeb3 (diff)
downloadikiwiki-f7a2a4b4d4f1868878e8ad294e9641d8adb51aef.tar
ikiwiki-f7a2a4b4d4f1868878e8ad294e9641d8adb51aef.tar.gz
qualify template_file
Diffstat (limited to 'IkiWiki/Plugin/template.pm')
-rw-r--r--IkiWiki/Plugin/template.pm2
1 files changed, 1 insertions, 1 deletions
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))