Bug 91009 - Add flag send after add new bug

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1736 6955db30-a419-402b-8a0d-67ecbb4d7f56
custis
akrasilnikov 2013-07-22 12:53:19 +00:00
parent 1f3b196e57
commit 5229bbfc24
1 changed files with 6 additions and 0 deletions

View File

@ -276,6 +276,12 @@ if ($token)
my $bug_sent = { bug_id => $id, type => 'created', mailrecipients => { changer => $user->login } };
send_results($bug_sent);
my @all_mail_results = ($bug_sent);
# Add flag notify to send_result
my $notify = Bugzilla->get_mail_result();
send_results($_) for @$notify;
push @all_mail_results, @$notify;
foreach my $dep (@{$bug->dependson || []}, @{$bug->blocked || []})
{
my $dep_sent = {