FIX #6230
This commit is contained in:
parent
9c60474953
commit
fdbe4051f1
@ -1050,6 +1050,7 @@ class User extends CommonObject
|
|||||||
$this->town = $contact->town;
|
$this->town = $contact->town;
|
||||||
$this->state_id = $contact->state_id;
|
$this->state_id = $contact->state_id;
|
||||||
$this->country_id = $contact->country_id;
|
$this->country_id = $contact->country_id;
|
||||||
|
$this->employee = 0;
|
||||||
|
|
||||||
if (empty($login)) $login=strtolower(substr($contact->firstname, 0, 4)) . strtolower(substr($contact->lastname, 0, 4));
|
if (empty($login)) $login=strtolower(substr($contact->firstname, 0, 4)) . strtolower(substr($contact->lastname, 0, 4));
|
||||||
$this->login = $login;
|
$this->login = $login;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user