qualify template_file

master
Joey Hess 2010-04-02 16:55:29 -04:00
parent 59ba938822
commit f7a2a4b4d4
1 changed files with 1 additions and 1 deletions

View File

@ -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))