Show event owner in the alert e-mail, fixes #361

pull/897/head
Iglocska 2016-01-24 21:17:08 +01:00
parent c2c41b04d3
commit 2b9887cd42
1 changed files with 1 additions and 0 deletions

View File

@ -1505,6 +1505,7 @@ class Event extends AppModel {
$body .= 'Date : ' . $event['Event']['date'] . "\n";
if (Configure::read('MISP.showorg')) {
$body .= 'Reported by : ' . $event['Orgc']['name'] . "\n";
$body .= 'Local owner of the event : ' . $event['Org']['name'] . "\n";
}
$body .= 'Distribution: ' . $this->distributionLevels[$event['Event']['distribution']] . "\n";
if ($event['Event']['distribution'] == 4) {