mirror of https://github.com/MISP/MISP
fix: [attribute:restSearch] `includeCorrelations` Do not longer returns
soft-deleted attributespull/7267/head
parent
6a944c8086
commit
934d43db59
|
@ -1405,6 +1405,7 @@ class Attribute extends AppModel
|
|||
// prepare the conditions
|
||||
$conditions = array(
|
||||
'Attribute.event_id !=' => $attribute['event_id'],
|
||||
'Attribute.deleted !=' => 1,
|
||||
);
|
||||
|
||||
// prevent issues with empty fields
|
||||
|
|
Loading…
Reference in New Issue