summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorolav%bkor.dhs.org <>2006-10-21 09:15:09 +0200
committerolav%bkor.dhs.org <>2006-10-21 09:15:09 +0200
commitc9f72537239350f5d05309db60ff96e59280a471 (patch)
treea9c8682861259193dc53cbd50c97068a5bde6f74 /Bugzilla
parent08525a87465db4ec1e0201ac206df25c59cf929e (diff)
downloadbugzilla-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
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm2
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 (?,?)');