From 2a5664ad1abf679b9e50a6c409902ce2ef638cc5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 25 Aug 2005 21:02:39 +0000 Subject: =?UTF-8?q?Bug=20208761:=20Move=20GetFormat()=20from=20globals.pl?= =?UTF-8?q?=20into=20Bugzilla::Template=20-=20Patch=20by=20Fr=C3=A9d=C3=A9?= =?UTF-8?q?ric=20Buclin=20=20r=3Dwicked=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- page.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'page.cgi') 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); -- cgit v1.2.1