mirror of https://github.com/MISP/MISP
fix: [internal] Fixed an issue that prevented all to ids attributes from being fetched on the event view
parent
4b571a4cad
commit
a03b1c9d44
|
@ -1622,7 +1622,7 @@ class Event extends AppModel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($options['to_ids'])) {
|
if (!empty($options['to_ids']) || $options['to_ids'] === 0) {
|
||||||
$conditionsAttributes['AND'][] = array('Attribute.to_ids' => $options['to_ids']);
|
$conditionsAttributes['AND'][] = array('Attribute.to_ids' => $options['to_ids']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue