mirror of https://github.com/MISP/MISP
fix: disable_correlation now works correctly as expected
parent
4b56e68a4a
commit
6fe812c595
|
@ -1617,6 +1617,9 @@ class Attribute extends AppModel {
|
|||
}
|
||||
|
||||
public function __afterSaveCorrelation($a, $full = false, $event = false) {
|
||||
if ($a['disable_correlation']) {
|
||||
return true;
|
||||
}
|
||||
// Don't do any correlation if the type is a non correlating type
|
||||
if (!in_array($a['type'], $this->nonCorrelatingTypes)) {
|
||||
if (!$event) {
|
||||
|
|
Loading…
Reference in New Issue