Bug 352699: bug creation time not available on bug creation

Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=myk


git-svn-id: svn://10.0.0.236/trunk@213944 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
olav%bkor.dhs.org 2006-10-21 00:15:09 +00:00
parent 8e7b912e4c
commit e9ac8ac23d

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 (?,?)');