Commit c9f72537 authored by olav%bkor.dhs.org's avatar olav%bkor.dhs.org

Bug 352699: bug creation time not available on bug creation

Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=myk
parent 08525a87
...@@ -283,6 +283,8 @@ sub create { ...@@ -283,6 +283,8 @@ sub create {
$dbh->do('UPDATE bugs SET creation_ts = ? WHERE bug_id = ?', undef, $dbh->do('UPDATE bugs SET creation_ts = ? WHERE bug_id = ?', undef,
$timestamp, $bug->bug_id); $timestamp, $bug->bug_id);
# Update the bug instance as well
$bug->{creation_ts} = $timestamp;
# Add the CCs # Add the CCs
my $sth_cc = $dbh->prepare('INSERT INTO cc (bug_id, who) VALUES (?,?)'); my $sth_cc = $dbh->prepare('INSERT INTO cc (bug_id, who) VALUES (?,?)');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment