Fix nits on bug 180652 - Frederic Buclin

git-svn-id: svn://10.0.0.236/trunk@170732 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
travis%sedsystems.ca
2005-03-15 22:08:12 +00:00
parent 12cacd49b1
commit d2223e28fc
2 changed files with 8 additions and 13 deletions

View File

@@ -1152,9 +1152,10 @@ sub update
SendSQL("SELECT NOW()");
my $timestamp = FetchOneColumn();
# Update flags. These calls must be done before updating the
# 'attachments' table due to the deletion of request flags
# on attachments being obsoleted.
# Update flags. We have to do this before committing changes
# to attachments so that we can delete pending requests if the user
# is obsoleting this attachment without deleting any requests
# the user submits at the same time.
my $target = Bugzilla::Flag::GetTarget(undef, $::FORM{'id'});
Bugzilla::Flag::process($target, $timestamp, \%::FORM);