diff options
author | lpsolit%gmail.com <> | 2005-08-25 23:02:39 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-25 23:02:39 +0200 |
commit | 2a5664ad1abf679b9e50a6c409902ce2ef638cc5 (patch) | |
tree | 96de597ded0b88bd26e51f75e86a7d66c4305b7f /duplicates.cgi | |
parent | f1f97d1ce4e9d90680aca0adc97e7b5f97c6cc25 (diff) | |
download | bugzilla-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 'duplicates.cgi')
-rwxr-xr-x | duplicates.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/duplicates.cgi b/duplicates.cgi index 92c697f53..2aa0df263 100755 --- a/duplicates.cgi +++ b/duplicates.cgi @@ -269,8 +269,9 @@ my @selectable_products = GetSelectableProducts(); $vars->{'products'} = \@selectable_products; -my $format = GetFormat("reports/duplicates", scalar($cgi->param('format')), - scalar($cgi->param('ctype'))); +my $format = $template->get_format("reports/duplicates", + scalar($cgi->param('format')), + scalar($cgi->param('ctype'))); print $cgi->header($format->{'ctype'}); |