Merge branch 'trim-mail' into 'develop'
add trim function in order to delete the blank characters in mail input See merge request framasoft/framadate!272
This commit is contained in:
commit
3c9b8d3708
@ -65,6 +65,7 @@ class InputService {
|
||||
}
|
||||
|
||||
public function filterMail($mail) {
|
||||
$mail = trim($mail);
|
||||
return filter_var($mail, FILTER_VALIDATE_EMAIL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user