mirror of https://github.com/MISP/MISP
Fix to the Proposal alerts not going out to users after one has failed
parent
d3d2c8a46f
commit
2566d49278
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue