summaryrefslogtreecommitdiffstats
path: root/page.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-25 23:02:39 +0200
committerlpsolit%gmail.com <>2005-08-25 23:02:39 +0200
commit2a5664ad1abf679b9e50a6c409902ce2ef638cc5 (patch)
tree96de597ded0b88bd26e51f75e86a7d66c4305b7f /page.cgi
parentf1f97d1ce4e9d90680aca0adc97e7b5f97c6cc25 (diff)
downloadbugzilla-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.gz
bugzilla-2a5664ad1abf679b9e50a6c409902ce2ef638cc5.tar.xz
Bug 208761: Move GetFormat() from globals.pl into Bugzilla::Template - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
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);