Fix to the Proposal alerts not going out to users after one has failed

pull/894/head
Iglocska 2016-01-29 14:28:42 +01:00
parent d3d2c8a46f
commit 2566d49278
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ class ShadowAttribute extends AppModel {
$subject = "[" . Configure::read('MISP.org') . " MISP] Proposal to event #" . $id;
$result = true;
foreach ($orgMembers as &$user) {
$result = $result && $this->User->sendEmail($user, $body, $body, $subject);
$result = $this->User->sendEmail($user, $body, $body, $subject) && $result;
}
return $result;
}