From 6010104821cd0964084ab92bf8c763bc2d9cafb5 Mon Sep 17 00:00:00 2001 From: vfilippov Date: Thu, 10 Jun 2010 15:11:35 +0000 Subject: [PATCH] Bug 65252 git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@796 6955db30-a419-402b-8a0d-67ecbb4d7f56 --- process_bug.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/process_bug.cgi b/process_bug.cgi index ad516e02c..b34116177 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -146,6 +146,8 @@ Bugzilla::User::match_field({ 'assigned_to' => { 'type' => 'single' }, }); +print $cgi->header() unless Bugzilla->usage_mode == USAGE_MODE_EMAIL; + # Check for a mid-air collision. Currently this only works when updating # an individual bug. if (defined $cgi->param('delta_ts')) @@ -736,7 +738,6 @@ elsif (($action eq 'next_bug' or $action eq 'same_bug') && ($bug = $vars->{bug}) } } -print $cgi->header(); if ($action ne 'nothing') { ThrowCodeError("invalid_post_bug_submit_action"); }