mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-23 20:37:45 +00:00
person: delete accept Email
This commit is contained in:
@@ -163,8 +163,7 @@ class PersonType extends AbstractType
|
||||
|
||||
if ($this->config['email'] === 'visible') {
|
||||
$builder
|
||||
->add('email', EmailType::class, array('required' => false))
|
||||
->add('acceptEmail', CheckboxType::class, array('required' => false));
|
||||
->add('email', EmailType::class, array('required' => false));
|
||||
}
|
||||
|
||||
if ($this->config['country_of_birth'] === 'visible') {
|
||||
|
||||
Reference in New Issue
Block a user