1
0
mirror of synced 2024-11-25 14:56:09 +03:00

user creation fix

This commit is contained in:
Grisha Pomadchin 2013-11-28 17:02:21 +04:00
parent 5df36eaa5d
commit d4abc60e2f

View File

@ -266,7 +266,7 @@ class ICrmOrderActions
} else {
$login = 'intarocrm';
$serverName = 0 < strlen(SITE_SERVER_NAME)? SITE_SERVER_NAME : 'server.com';
$email = $login . '@' . $server_name;
$email = $login . '@' . $serverName;
$userPassword = randString(10);
$user = new CUser;