From: lpsolit%gmail.com <> Date: Sat, 7 May 2005 04:43:33 +0000 (+0000) Subject: Bug 286160: possible invalid flag types when moving a bug to a different product... X-Git-Tag: bugzilla-2.18.1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c234e0cf82fa587c8e996a1a693de406ceef98f4;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 133e9b0563..3dd5f52ee3 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1702,10 +1702,9 @@ foreach my $id (@idlist) { } } # Set and update flags. - if ($UserInEditGroupSet) { - my $target = Bugzilla::Flag::GetTarget($id); - Bugzilla::Flag::process($target, $timestamp, \%::FORM); - } + my $target = Bugzilla::Flag::GetTarget($id); + Bugzilla::Flag::process($target, $timestamp, \%::FORM); + if ($bug_changed) { SendSQL("UPDATE bugs SET delta_ts = " . SqlQuote($timestamp) . " WHERE bug_id = $id"); }