diff options
author | 2005-07-08 01:42:08 +0000 | |
---|---|---|
committer | 2005-07-08 01:42:08 +0000 | |
commit | dce0cf73010c7ed17f98a5b19148390d11788ef7 (patch) | |
tree | 3127d34e0a65292db89b0c2e3c54cf3524918d22 /process_bug.cgi | |
parent | Bug 299211: whine.pl fails if derive_groups is required - Patch by Marc Schum... (diff) | |
download | bugzilla-dce0cf73010c7ed17f98a5b19148390d11788ef7.tar.gz bugzilla-dce0cf73010c7ed17f98a5b19148390d11788ef7.tar.bz2 bugzilla-dce0cf73010c7ed17f98a5b19148390d11788ef7.zip |
Bug 240251: Bug::AppendComment() should receive the user ID as a 2nd parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index f2f71710d..1fa8400e9 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -1346,7 +1346,7 @@ foreach my $id (@idlist) { } if ($cgi->param('comment') || $work_time) { - AppendComment($id, Bugzilla->user->login, $cgi->param('comment'), + AppendComment($id, $whoid, $cgi->param('comment'), $cgi->param('commentprivacy'), $timestamp, $work_time); $bug_changed = 1; } @@ -1775,7 +1775,7 @@ foreach my $id (@idlist) { "VALUES ($reporter, $duplicate)"); } # Bug 171639 - Duplicate notifications do not need to be private. - AppendComment($duplicate, Bugzilla->user->login, + AppendComment($duplicate, $whoid, "*** Bug " . $cgi->param('id') . " has been marked as a duplicate of this bug. ***", 0, $timestamp); |