mirror of https://github.com/MISP/MISP
fix: [feeds] Stop the reset of the attribute count after a feed pull is completed, fixes #4414
parent
d3d242117e
commit
a26b38e2f5
|
@ -1027,6 +1027,7 @@ class Feed extends AppModel
|
|||
}
|
||||
if (!empty($data)) {
|
||||
unset($event['Event']['timestamp']);
|
||||
unset($event['Event']['attribute_count']);
|
||||
$this->Event->save($event);
|
||||
}
|
||||
if ($feed['Feed']['publish']) {
|
||||
|
|
Loading…
Reference in New Issue