From 9af44ff9bcd32fd7d2c084c7d662148ccbdd178d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 7 May 2005 04:40:32 +0000 Subject: [PATCH] =?utf8?q?Bug=20286160:=20possible=20invalid=20flag=20type?= =?utf8?q?s=20when=20moving=20a=20bug=20to=20a=20different=20product=20-?= =?utf8?q?=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/process_bug.cgi b/process_bug.cgi index 6eb82fc5a8..05f4fec0d6 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"); } -- 2.47.2