Fixed stupid minimal name length
This commit is contained in:
parent
bf3834c9fa
commit
8357f989d9
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class Ctrl_UsersEditForm
|
||||||
->setDescription( 'Display name:' )
|
->setDescription( 'Display name:' )
|
||||||
->setMandatory( false )
|
->setMandatory( false )
|
||||||
->setValidator( Loader::Create( 'Validator_StringLength' , 'This display name',
|
->setValidator( Loader::Create( 'Validator_StringLength' , 'This display name',
|
||||||
5 , 256 , true ) )
|
0 , 256 , true ) )
|
||||||
->setDefaultValue( $user->user_display_name ) )
|
->setDefaultValue( $user->user_display_name ) )
|
||||||
->addController( Loader::Ctrl( 'users_edit' ) )
|
->addController( Loader::Ctrl( 'users_edit' ) )
|
||||||
->setURL( 'users/view?id=' . $userId );
|
->setURL( 'users/view?id=' . $userId );
|
||||||
|
|
Loading…
Reference in a new issue