FIX - strlower to email
This commit is contained in:
parent
517efeebd1
commit
7301ef6bfa
@ -563,7 +563,7 @@ class Contact extends CommonObject
|
||||
$this->ref_ext = trim($this->ref_ext);
|
||||
$this->lastname = trim($this->lastname) ?trim($this->lastname) : trim($this->lastname);
|
||||
$this->firstname = trim($this->firstname);
|
||||
$this->email = trim($this->email);
|
||||
$this->email = dol_strtolower(trim($this->email));
|
||||
$this->phone_pro = trim($this->phone_pro);
|
||||
$this->phone_perso = trim($this->phone_perso);
|
||||
$this->phone_mobile = trim($this->phone_mobile);
|
||||
|
||||
@ -1279,7 +1279,7 @@ class Societe extends CommonObject
|
||||
$this->fax = trim($this->fax);
|
||||
$this->fax = preg_replace("/\s/", "", $this->fax);
|
||||
$this->fax = preg_replace("/\./", "", $this->fax);
|
||||
$this->email = trim($this->email);
|
||||
$this->email = dol_strtolower(trim($this->email));
|
||||
$this->url = $this->url ?clean_url($this->url, 0) : '';
|
||||
$this->note_private = trim($this->note_private);
|
||||
$this->note_public = trim($this->note_public);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user