fix: [correlation UI] Fixed an issue where the cache contained correlations to a feed/server that is no longer in the DB

pull/4438/head
iglocska 2019-02-23 18:52:34 +01:00
parent 742f236ee1
commit 2bb4bebce6
1 changed files with 3 additions and 0 deletions

View File

@ -393,6 +393,9 @@
<?php
if (!empty($event['Server'])):
foreach ($event['Server'] as $relatedServer):
if (empty($relatedServer['id'])) {
continue;
}
$relatedData = array('Name' => $relatedServer['name'], 'URL' => $relatedServer['url']);
$popover = '';
foreach ($relatedData as $k => $v) {