fix: [API] Adding an event without the info field set should never work, fixes #4984

pull/4986/head
iglocska 2019-08-13 15:48:19 +02:00
parent ecfe1ee596
commit 29484a2243
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 0 deletions

View File

@ -255,6 +255,7 @@ class Event extends AppModel
'info' => array(
'valueNotEmpty' => array(
'rule' => array('valueNotEmpty'),
'required' => true
),
),
'user_id' => array(