From 9af44ff9bcd32fd7d2c084c7d662148ccbdd178d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 7 May 2005 04:40:32 +0000 Subject: Bug 286160: possible invalid flag types when moving a bug to a different product - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index 6eb82fc5a..05f4fec0d 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1794,10 +1794,9 @@ foreach my $id (@idlist) { } } # Set and update flags. - if ($UserInEditGroupSet) { - my $target = Bugzilla::Flag::GetTarget($id); - Bugzilla::Flag::process($target, $timestamp, $cgi); - } + my $target = Bugzilla::Flag::GetTarget($id); + Bugzilla::Flag::process($target, $timestamp, $cgi); + if ($bug_changed) { SendSQL("UPDATE bugs SET delta_ts = $sql_timestamp WHERE bug_id = $id"); } -- cgit v1.2.3-24-g4f1b