mirror of https://github.com/MISP/MISP
fix: [Model] Added disable_correlation flag to the attributes of the original imported file object
parent
bf04db3e11
commit
6a8e4b139f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue