fix: [server] caching notice fixed

pull/6323/head
iglocska 2020-10-16 14:41:45 +02:00
parent a14e787e17
commit 42aaea20f8
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ class Feed extends AppModel
}
// Append also exact MISP feed event UUID
// TODO: This can be optimised in future to do that in one pass
if ($sourceHasHit && $source[$scope]['source_format'] === 'misp') {
if ($sourceHasHit && ($scope === 'Server' || $source[$scope]['source_format'] === 'misp')) {
$pipe = $redis->multi(Redis::PIPELINE);
$eventUuidHitPosition = [];
foreach ($hitIds as $sourceHitPos => $k) {