mirror of https://github.com/MISP/MISP
fix: [attribute] Prevent undefined index on tag filtering.
As tags are popped from the attribute scope first, they will not be available in the event scope.pull/4053/head
parent
cbb3451d2b
commit
b64d5c82a7
|
@ -3796,7 +3796,7 @@ class Attribute extends AppModel
|
|||
);
|
||||
foreach ($params as $param => $paramData) {
|
||||
foreach ($simple_params as $scope => $simple_param_scoped) {
|
||||
if (isset($simple_param_scoped[$param]) && $params[$param] !== false) {
|
||||
if (isset($simple_param_scoped[$param]) && isset($params[$param]) && $params[$param] !== false) {
|
||||
$options = array(
|
||||
'filter' => $param,
|
||||
'scope' => $scope,
|
||||
|
|
Loading…
Reference in New Issue