summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-16 03:48:13 +0200
committerlpsolit%gmail.com <>2005-08-16 03:48:13 +0200
commit74dd48c21d8b75ec8de225c4a653641a3460bf4f (patch)
tree5437c4aea1456d36eb1225de66e2e953e375b3cb /process_bug.cgi
parent044848e67b4134b9429f880774c9c6cf577226cc (diff)
downloadbugzilla-74dd48c21d8b75ec8de225c4a653641a3460bf4f.tar.gz
bugzilla-74dd48c21d8b75ec8de225c4a653641a3460bf4f.tar.xz
Bug 304642: Bugzilla::Flag::GetTarget() should be called internally by Bugzilla::Flag::process() - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index b330615ce..b0decb861 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1737,8 +1737,7 @@ foreach my $id (@idlist) {
}
}
# Set and update flags.
- my $target = Bugzilla::Flag::GetTarget($id);
- Bugzilla::Flag::process($target, $timestamp, $cgi);
+ Bugzilla::Flag::process($id, undef, $timestamp, $cgi);
if ($bug_changed) {
SendSQL("UPDATE bugs SET delta_ts = $sql_timestamp WHERE bug_id = $id");