]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
move mime type declaration to fix types for html error messages
authorendico%mozilla.org <>
Tue, 16 May 2000 14:35:21 +0000 (14:35 +0000)
committerendico%mozilla.org <>
Tue, 16 May 2000 14:35:21 +0000 (14:35 +0000)
export_bug.cgi

index a83dec702329953b9b42ca897510b4f8e5e837a6..3efd0bb89d54730c7941f1b9fd5dc0f0ef47ea3d 100755 (executable)
@@ -29,7 +29,6 @@ use Data::Dumper;
 #use vars %::COOKIE;
 require "CGI.pl";
 
-print "Content-type: text/plain\n\n";
 #$::lockcount = 0;
 my $dump = new XML::Dumper;
 
@@ -335,6 +334,7 @@ if (defined $bug{'attachments'}) {
 $xml .= "</bug>\n";
 $xml .= "</bugzilla>\n";
 
+print "Content-type: text/plain\n\n";
 print $xml;
 
 #my $msg = "To: $exporter\n";