mirror of https://github.com/MISP/MISP
fix: [correlations] attribute index / search shows incorrect correlations, fixes #8930
- showed the attribute ID rather than the event ID, also leading to invalid URLs for pivotingcomposer_fix
parent
d123b27960
commit
91d87b4e44
|
@ -33,10 +33,10 @@
|
|||
$popover .= '<b class="black">' . h($k) . '</b>: <span class="blue">' . h($v) . '</span><br>';
|
||||
}
|
||||
$link = $this->Html->link(
|
||||
$relatedAttribute['id'],
|
||||
$relatedAttribute['Event']['id'],
|
||||
$withPivot ?
|
||||
['controller' => 'events', 'action' => 'view', $relatedAttribute['id'], true, $event['Event']['id']] :
|
||||
['controller' => 'events', 'action' => 'view', $relatedAttribute['id']],
|
||||
['controller' => 'events', 'action' => 'view', $relatedAttribute['Event']['id'], true, $event['Event']['id']] :
|
||||
['controller' => 'events', 'action' => 'view', $relatedAttribute['Event']['id']],
|
||||
['class' => ($relatedAttribute['org_id'] == $me['org_id']) ? $linkColour : 'blue']
|
||||
);
|
||||
echo sprintf(
|
||||
|
|
Loading…
Reference in New Issue