mirror of https://github.com/MISP/MISP
fix: [API] Invalid negative lookup fixed
parent
84a24ede4a
commit
82b5b37b8f
|
@ -1872,7 +1872,7 @@ class AppModel extends Model
|
|||
$filter = array();
|
||||
foreach ($temp as $f) {
|
||||
if ($f[0] === '!') {
|
||||
$filter['NOT'][] = $f;
|
||||
$filter['NOT'][] = substr($f, 1);
|
||||
} else {
|
||||
$filter['OR'][] = $f;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue