diff options
author | bbaetz%acm.org <> | 2003-05-05 08:15:19 +0000 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-05-05 08:15:19 +0000 |
commit | 9488a8906592564ec2e7601041f3ea5484cde3cc (patch) | |
tree | b9308d1a3dcf639d1e561ede1186ff58afc01834 /doeditparams.cgi | |
parent | c000c0a480f2cb73f2b0b89550bbd8e496b73c9d (diff) | |
download | bugs-9488a8906592564ec2e7601041f3ea5484cde3cc.tar bugs-9488a8906592564ec2e7601041f3ea5484cde3cc.tar.gz bugs-9488a8906592564ec2e7601041f3ea5484cde3cc.tar.bz2 bugs-9488a8906592564ec2e7601041f3ea5484cde3cc.tar.xz bugs-9488a8906592564ec2e7601041f3ea5484cde3cc.zip |
Bug 201816 - use CGI.pm for header output
r=joel, a=justdave
Diffstat (limited to 'doeditparams.cgi')
-rwxr-xr-x | doeditparams.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doeditparams.cgi b/doeditparams.cgi index 48c39bc7a..cba06dd29 100755 --- a/doeditparams.cgi +++ b/doeditparams.cgi @@ -25,6 +25,7 @@ use strict; use lib qw(.); +use Bugzilla; use Bugzilla::Config qw(:DEFAULT :admin); require "CGI.pl"; @@ -34,7 +35,9 @@ use vars %::MFORM; ConnectToDatabase(); confirm_login(); -print "Content-type: text/html\n\n"; +my $cgi = Bugzilla->cgi; + +print $cgi->header(); if (!UserInGroup("tweakparams")) { print "<H1>Sorry, you aren't a member of the 'tweakparams' group.</H1>\n"; |