diff options
author | lpsolit%gmail.com <> | 2005-05-07 06:40:32 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-05-07 06:40:32 +0200 |
commit | 9af44ff9bcd32fd7d2c084c7d662148ccbdd178d (patch) | |
tree | 92facc43686e3f782fd695f4f25edd991b9ae467 /process_bug.cgi | |
parent | 33993daf6e2e336cfa08cb20827d017702c0ab32 (diff) | |
download | bugzilla-9af44ff9bcd32fd7d2c084c7d662148ccbdd178d.tar.gz bugzilla-9af44ff9bcd32fd7d2c084c7d662148ccbdd178d.tar.xz |
Bug 286160: possible invalid flag types when moving a bug to a different product - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 7 |
1 files changed, 3 insertions, 4 deletions
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"); } |