summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 4f12c179f..37f492337 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -814,6 +814,7 @@ sub create {
foreach my $flag (@{$bug->flags}) {
Bugzilla::Flag->create($flag);
}
+ delete $bug->{flag_types}; # cause flag_types to be reloaded with newly created flags
}
# Comment #0 handling...