CheckStyle
I check everypalce where this function is call in Dolibarr, and to be consistant it's better to use new attribute names
This commit is contained in:
parent
b667400cc1
commit
f2a4e42712
@ -909,8 +909,8 @@ class User extends CommonObject
|
||||
$this->admin = 0;
|
||||
$this->nom = $contact->nom; // TODO deprecated
|
||||
$this->prenom = $contact->prenom; // TODO deprecated
|
||||
$this->lastname = $contact->nom;
|
||||
$this->firstname = $contact->prenom;
|
||||
$this->lastname = $contact->lastname;
|
||||
$this->firstname = $contact->firstname;
|
||||
$this->email = $contact->email;
|
||||
$this->office_phone = $contact->phone_pro;
|
||||
$this->office_fax = $contact->fax;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user