mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
trim email
This commit is contained in:
parent
e027958c63
commit
dcddf4b3f1
@ -77,6 +77,7 @@ and this project adheres to
|
||||
* [parcours] Create document buttons made sticky (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/532)
|
||||
* [person] Trailing guillemet removed (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/530)
|
||||
* [notification] Display of social action within workflow notification set to display block (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/537)
|
||||
* [onthefly] trim trailing whitespace in email of person and thirdparty (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/542)
|
||||
|
||||
## Test releases
|
||||
|
||||
|
@ -1572,6 +1572,8 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
$email = '';
|
||||
}
|
||||
|
||||
$email = trim($email);
|
||||
|
||||
$this->email = $email;
|
||||
|
||||
return $this;
|
||||
|
@ -762,6 +762,7 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
|
||||
*/
|
||||
public function setEmail($email = null)
|
||||
{
|
||||
$email = trim($email);
|
||||
$this->email = $email;
|
||||
|
||||
return $this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user