diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Flag.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index 8ce26aaa8..7e039f077 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -531,6 +531,8 @@ sub update_flags { # This is a new flag. my $flag = $class->create($new_flag, $timestamp); $new_flag->{id} = $flag->id; + $new_flag->{creation_date} = format_time($timestamp, '%Y.%m.%d %H:%i:%s'); + $new_flag->{modification_date} = format_time($timestamp, '%Y.%m.%d %H:%i:%s'); $class->notify($new_flag, undef, $self, $timestamp); } else { |