mirror of https://github.com/MISP/MISP
Fix event graph tag scope view
parent
3c097f8202
commit
d06d67b6dc
|
@ -372,6 +372,8 @@
|
|||
'id' => 'tag_edge_id_' . $i,
|
||||
'from' => $attr['id'],
|
||||
'to' => $tag['name'],
|
||||
'type' => isset($tag['relationship_type']) ? $tag['relationship_type'] : '',
|
||||
'comment' => '',
|
||||
);
|
||||
$tagSet[$tag['name']] = $tag;
|
||||
array_push($this->__json['relations'], $toPush);
|
||||
|
@ -410,6 +412,8 @@
|
|||
'id' => "tag_edge_id_" . $i,
|
||||
'from' => sprintf('o-%s', $obj['id']),
|
||||
'to' => $tag['name'],
|
||||
'type' => isset($tag['relationship_type']) ? $tag['relationship_type'] : '',
|
||||
'comment' => '',
|
||||
);
|
||||
$tagSet[$tag['name']] = $tag;
|
||||
array_push($added_value, $tag['name']);
|
||||
|
|
Loading…
Reference in New Issue