From e024264c8eff395050f0e16e502d7a53f98ecd94 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Fri, 6 May 2005 21:40:32 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20286160:=20possible=20invalid=20flag=20typ?= =?UTF-8?q?es=20when=20moving=20a=20bug=20to=20a=20different=20product=20-?= =?UTF-8?q?=20Patch=20by=20Fr=EF=BF=BDd=EF=BF=BDric=20Buclin=20=20r=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webtools/bugzilla/process_bug.cgi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webtools/bugzilla/process_bug.cgi b/webtools/bugzilla/process_bug.cgi index 6eb82fc5a8f1..05f4fec0d6cf 100755 --- a/webtools/bugzilla/process_bug.cgi +++ b/webtools/bugzilla/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"); }