mirror of https://github.com/MISP/MISP
fix: [feed] Feed pulls don't update the timestamp of the event
- affects freetext feeds - this blocks the further propagation of the modificationspull/4237/head
parent
99b2dad95d
commit
0cbd53f3e7
|
@ -1024,6 +1024,10 @@ class Feed extends AppModel
|
|||
$job->saveField('progress', 50 + round((50 * ((($k + 1) * 100) / count($data)))));
|
||||
}
|
||||
}
|
||||
if (!empty($data)) {
|
||||
unset($event['Event']['timestamp']);
|
||||
$this->Event->save($event);
|
||||
}
|
||||
if ($feed['Feed']['publish']) {
|
||||
$this->Event->publishRouter($event['Event']['id'], null, $user);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue