Fixed stupid minimal name length

This commit is contained in:
Emmanuel BENOîT 2016-01-01 23:31:21 +01:00
parent bf3834c9fa
commit 8357f989d9

View file

@ -267,7 +267,7 @@ class Ctrl_UsersEditForm
->setDescription( 'Display name:' )
->setMandatory( false )
->setValidator( Loader::Create( 'Validator_StringLength' , 'This display name',
5 , 256 , true ) )
0 , 256 , true ) )
->setDefaultValue( $user->user_display_name ) )
->addController( Loader::Ctrl( 'users_edit' ) )
->setURL( 'users/view?id=' . $userId );