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
|
$validator
|
||||||
->requirePresence(['name'], 'create')
|
->requirePresence(['name'], 'create')
|
||||||
|
->notEmptyString('name')
|
||||||
->add(
|
->add(
|
||||||
'uuid',
|
'uuid',
|
||||||
'uuid',
|
'uuid',
|
||||||
|
|
Loading…
Reference in New Issue