mirror of https://github.com/MISP/MISP
fix: Fixed a critical issue introduced in 2.4.83 blocking the synchronisation of edits in certain situations
- events being edited didn't set the locked = 1 flag on push - as reported by SIEMENSpull/2716/head v2.4.84
parent
84adb108dc
commit
ced7db17e9
|
@ -1 +1 @@
|
|||
{"major":2, "minor":4, "hotfix":83}
|
||||
{"major":2, "minor":4, "hotfix":84}
|
||||
|
|
|
@ -2848,6 +2848,7 @@ class Event extends AppModel {
|
|||
$params = array_merge($params, array('eventid' => $id, 'includeAttachments' => true, 'includeAllTags' => true, 'deleted' => true));
|
||||
$event = $this->fetchEvent($elevatedUser, $params);
|
||||
$event = $event[0];
|
||||
$event['Event']['locked'] = 1;
|
||||
$thisUploaded = $this->uploadEventToServer($event, $server, $HttpSocket);
|
||||
if (!$thisUploaded) {
|
||||
$uploaded = !$uploaded ? $uploaded : $thisUploaded;
|
||||
|
|
Loading…
Reference in New Issue