fix: [internal] Checking if event exists typo

pull/8416/head
Jakub Onderka 2022-05-29 14:03:06 +02:00
parent feee069c32
commit 5c4a126aaa
1 changed files with 1 additions and 1 deletions

View File

@ -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