fix: [sharingGroupTable:validation] Make sure the name is not empty

3.x-ui-sharinggroups
Sami Mokaddem 2023-08-03 11:14:05 +02:00
parent 2604f39729
commit 83a76ccdde
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class SharingGroupsTable extends AppTable
{
$validator
->requirePresence(['name'], 'create')
->notEmptyString('name')
->add(
'uuid',
'uuid',