aboutsummaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-03-21 23:18:07 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2016-03-21 23:18:07 +0100
commit6896e0469c6d9fd22252e2959da8bacb5ca99aa9 (patch)
treeac6a720e10076302b8cc780bfc038c364953dc1a /editclassifications.cgi
parent6e0182e55396213869186764abb1620dcbf307f0 (diff)
downloadbugs-6896e0469c6d9fd22252e2959da8bacb5ca99aa9.tar
bugs-6896e0469c6d9fd22252e2959da8bacb5ca99aa9.tar.gz
bugs-6896e0469c6d9fd22252e2959da8bacb5ca99aa9.tar.bz2
bugs-6896e0469c6d9fd22252e2959da8bacb5ca99aa9.tar.xz
bugs-6896e0469c6d9fd22252e2959da8bacb5ca99aa9.zip
Bug 1255619: CGI scripts should not send duplicated headers
r/a=dkl
Diffstat (limited to 'editclassifications.cgi')
-rwxr-xr-xeditclassifications.cgi2
1 files changed, 0 insertions, 2 deletions
diff --git a/editclassifications.cgi b/editclassifications.cgi
index ea4b139da..640b8b8cd 100755
--- a/editclassifications.cgi
+++ b/editclassifications.cgi
@@ -27,7 +27,6 @@ local our $vars = {};
sub LoadTemplate {
my $action = shift;
- my $cgi = Bugzilla->cgi;
my $template = Bugzilla->template;
$vars->{'classifications'} = [Bugzilla::Classification->get_all]
@@ -38,7 +37,6 @@ sub LoadTemplate {
$action =~ /(\w+)/;
$action = $1;
- print $cgi->header();
$template->process("admin/classifications/$action.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;