chg: [proposal alert] emails now include the event uuid

- for easier lookup on your own instance, rather than the remote.
pull/8153/head
iglocska 2022-02-16 14:45:57 +01:00
parent ea19abbfc8
commit 07b29a6865
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ class ShadowAttribute extends AppModel
$body = "Hello, \n\n";
$body .= "A user of another organisation has proposed a change to an event created by you or your organisation. \n\n";
$body .= 'To view the event in question, follow this link: ' . Configure::read('MISP.baseurl') . '/events/view/' . $id . "\n";
$subject = "[" . Configure::read('MISP.org') . " MISP] Proposal to event #" . $id;
$subject = "[" . Configure::read('MISP.org') . " MISP] Proposal to event #" . $id . ' (uuid: ' . $event['Event']['uuid'] . ')';
$result = false;
foreach ($orgMembers as $user) {
$result = $this->User->sendEmail($user, $body, $body, $subject) or $result;