summaryrefslogtreecommitdiffstats
path: root/page.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'page.cgi')
-rwxr-xr-xpage.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/page.cgi b/page.cgi
index 9954c64a8..97f425ba2 100755
--- a/page.cgi
+++ b/page.cgi
@@ -52,7 +52,7 @@ if ($id) {
ThrowCodeError("bad_page_cgi_id", { "page_id" => $id });
}
- my $format = GetFormat("pages/$1", undef, $2);
+ my $format = $template->get_format("pages/$1", undef, $2);
$cgi->param('id', $id);