From: lpsolit%gmail.com <> Date: Sat, 7 May 2005 04:40:32 +0000 (+0000) Subject: Bug 286160: possible invalid flag types when moving a bug to a different product... X-Git-Tag: bugzilla-2.19.3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9af44ff9bcd32fd7d2c084c7d662148ccbdd178d;p=thirdparty%2Fbugzilla.git Bug 286160: possible invalid flag types when moving a bug to a different product - Patch by Frédéric Buclin r=mkanat a=myk --- 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"); }