Bug 352699: bug creation time not available on bug creation

Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=myk
This commit is contained in:
olav%bkor.dhs.org 2006-10-21 00:15:09 +00:00
parent e30f119149
commit cf501f0689

View File

@ -283,6 +283,8 @@ sub create {
$dbh->do('UPDATE bugs SET creation_ts = ? WHERE bug_id = ?', undef,
$timestamp, $bug->bug_id);
# Update the bug instance as well
$bug->{creation_ts} = $timestamp;
# Add the CCs
my $sth_cc = $dbh->prepare('INSERT INTO cc (bug_id, who) VALUES (?,?)');