mirror of https://github.com/MISP/MISP
fix: [internal] Checking if event exists typo
parent
feee069c32
commit
5c4a126aaa
|
@ -3636,7 +3636,7 @@ class Event extends AppModel
|
|||
$existingEvent = $this->find('first', [
|
||||
'conditions' => ['Event.uuid' => $data['Event']['uuid']],
|
||||
'fields' => ['Event.id'],
|
||||
'recursive' => -1.
|
||||
'recursive' => -1,
|
||||
]);
|
||||
if ($existingEvent) {
|
||||
// RESTful, set response location header so client can find right URL to edit
|
||||
|
|
Loading…
Reference in New Issue