Pass attribute uuid to enrichment modules

pull/3071/head
John Doe 2018-03-26 09:56:37 +08:00
parent bdd5473c56
commit 606b18562b
1 changed files with 1 additions and 1 deletions

View File

@ -4416,7 +4416,7 @@ class EventsController extends AppController {
}
}
}
$data = array('module' => $module, $attribute[0]['Attribute']['type'] => $attribute[0]['Attribute']['value'], 'event_id' => $attribute[0]['Attribute']['event_id']);
$data = array('module' => $module, $attribute[0]['Attribute']['type'] => $attribute[0]['Attribute']['value'], 'event_id' => $attribute[0]['Attribute']['event_id'], 'attribute_uuid' => $attribute[0]['Attribute']['uuid']);
if ($this->Event->Attribute->typeIsAttachment($attribute[0]['Attribute']['type'])) {
$data['data'] = $this->Event->Attribute->base64EncodeAttachment($attribute[0]['Attribute']);
}