diff options
author | olav%bkor.dhs.org <> | 2006-10-21 09:15:09 +0200 |
---|---|---|
committer | olav%bkor.dhs.org <> | 2006-10-21 09:15:09 +0200 |
commit | c9f72537239350f5d05309db60ff96e59280a471 (patch) | |
tree | a9c8682861259193dc53cbd50c97068a5bde6f74 | |
parent | 08525a87465db4ec1e0201ac206df25c59cf929e (diff) | |
download | bugzilla-c9f72537239350f5d05309db60ff96e59280a471.tar.gz bugzilla-c9f72537239350f5d05309db60ff96e59280a471.tar.xz |
Bug 352699: bug creation time not available on bug creation
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=myk
-rwxr-xr-x | Bugzilla/Bug.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index be4b2a037..597d52f53 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -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 (?,?)'); |