summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2009-07-15 01:39:30 +0000
committerRobert Haas2009-07-15 01:39:48 +0000
commit7a6d6c034f6e95f4a4fec29e119b6295399ed966 (patch)
tree566fd17159d2aec4e772aa8946ae996f412c9a8f
parent994ecfe577d0bee4ee8e93792a09fb624d8b53d5 (diff)
Bug fix: Set patch author for new comment added via patch_view page.
-rw-r--r--perl-lib/PgCommitFest/Patch.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-lib/PgCommitFest/Patch.pm b/perl-lib/PgCommitFest/Patch.pm
index 53fb7e3..d22633a 100644
--- a/perl-lib/PgCommitFest/Patch.pm
+++ b/perl-lib/PgCommitFest/Patch.pm
@@ -191,6 +191,7 @@ EOM
if ($r->cgi('go') && ! $r->is_error()) {
$value{'patch_id'} = $d->{'id'};
$value{'creator'} = $aa->{'userid'};
+ $value{'last_updater'} = $aa->{'userid'};
$r->db->insert('patch_comment', \%value);
$r->db->commit;
$r->redirect('/action/patch_view?id=' . $d->{'id'});