From: olav%bkor.dhs.org <> Date: Sat, 21 Oct 2006 07:15:09 +0000 (+0000) Subject: Bug 352699: bug creation time not available on bug creation X-Git-Tag: bugzilla-2.23.4~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9f72537239350f5d05309db60ff96e59280a471;p=thirdparty%2Fbugzilla.git Bug 352699: bug creation time not available on bug creation Patch by Olav Vitters r=LpSolit a=myk --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index be4b2a0372..597d52f53c 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 (?,?)');