mirror of https://github.com/MISP/MISP
fix: [sharingGroupTable:validation] Make sure the name is not empty
parent
2604f39729
commit
83a76ccdde
|
@ -73,6 +73,7 @@ class SharingGroupsTable extends AppTable
|
|||
{
|
||||
$validator
|
||||
->requirePresence(['name'], 'create')
|
||||
->notEmptyString('name')
|
||||
->add(
|
||||
'uuid',
|
||||
'uuid',
|
||||
|
|
Loading…
Reference in New Issue