mirror of https://github.com/MISP/MISP
fix: [API] Adding an event without the info field set should never work, fixes #4984
parent
ecfe1ee596
commit
29484a2243
|
@ -255,6 +255,7 @@ class Event extends AppModel
|
|||
'info' => array(
|
||||
'valueNotEmpty' => array(
|
||||
'rule' => array('valueNotEmpty'),
|
||||
'required' => true
|
||||
),
|
||||
),
|
||||
'user_id' => array(
|
||||
|
|
Loading…
Reference in New Issue