fix: [Model] Added disable_correlation flag to the attributes of the original imported file object

pull/4075/head
chrisr3d 2019-01-25 17:12:15 +01:00
parent bf04db3e11
commit 6a8e4b139f
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 3 additions and 1 deletions

View File

@ -5785,6 +5785,7 @@ class Event extends AppModel
'value' => $original_filename,
'data' => base64_encode($file),
'object_id' => $object_id,
'disable_correlation' => true
),
array(
'type' => 'text',
@ -5794,7 +5795,8 @@ class Event extends AppModel
'distribution' => $distribution,
'object_id' => $object_id,
'object_relation' => 'format',
'value' => $format
'value' => $format,
'disable_correlation' => true
)
);
foreach ($attributes as $attribute) {